freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] [build] Allow overriding of `ANSIFLAGS`


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] [build] Allow overriding of `ANSIFLAGS` for GNU make build.
Date: Fri, 28 May 2021 22:28:13 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

14 changed files:

Changes:

  • ChangeLog
    1
    +2021-05-29  Werner Lemberg  <wl@gnu.org>
    
    2
    +
    
    3
    +	[build] Allow overriding of `ANSIFLAGS` for GNU make build.
    
    4
    +
    
    5
    +	* builds/*: Implement it.
    
    6
    +
    
    1 7
     2021-05-27  Alexei Podtelezhnikov  <apodtele@gmail.com>
    
    2 8
     
    
    3 9
     	[type42] Fix auto-hinting.
    

  • builds/ansi/ansi-def.mk
    ... ... @@ -71,7 +71,7 @@ CFLAGS ?= -c
    71 71
     
    
    72 72
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    73 73
     #
    
    74
    -ANSIFLAGS :=
    
    74
    +ANSIFLAGS ?=
    
    75 75
     
    
    76 76
     
    
    77 77
     # EOF

  • builds/beos/beos-def.mk
    ... ... @@ -73,7 +73,7 @@ CFLAGS ?= -c
    73 73
     
    
    74 74
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    75 75
     #
    
    76
    -ANSIFLAGS :=
    
    76
    +ANSIFLAGS ?=
    
    77 77
     
    
    78 78
     
    
    79 79
     # EOF

  • builds/compiler/ansi-cc.mk
    ... ... @@ -68,7 +68,7 @@ CFLAGS ?= -c
    68 68
     #
    
    69 69
     #  we assume the compiler is already strictly ANSI
    
    70 70
     #
    
    71
    -ANSIFLAGS :=
    
    71
    +ANSIFLAGS ?=
    
    72 72
     
    
    73 73
     
    
    74 74
     # Library linking
    

  • builds/compiler/bcc-dev.mk
    ... ... @@ -67,7 +67,7 @@ CFLAGS ?= -q -c -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus
    67 67
     
    
    68 68
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    69 69
     #
    
    70
    -ANSIFLAGS := -A
    
    70
    +ANSIFLAGS ?= -A
    
    71 71
     
    
    72 72
     
    
    73 73
     # Library linking
    

  • builds/compiler/bcc.mk
    ... ... @@ -67,7 +67,7 @@ CFLAGS ?= -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus
    67 67
     
    
    68 68
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    69 69
     #
    
    70
    -ANSIFLAGS := -A
    
    70
    +ANSIFLAGS ?= -A
    
    71 71
     
    
    72 72
     
    
    73 73
     # Library linking
    

  • builds/compiler/emx.mk
    ... ... @@ -65,7 +65,7 @@ CFLAGS ?= -c -g -O6 -Wall
    65 65
     
    
    66 66
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    67 67
     #
    
    68
    -ANSIFLAGS :=
    
    68
    +ANSIFLAGS ?=
    
    69 69
     
    
    70 70
     
    
    71 71
     # Library linking
    

  • builds/compiler/gcc-dev.mk
    ... ... @@ -82,8 +82,9 @@ ifndef CFLAGS
    82 82
     endif
    
    83 83
     
    
    84 84
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    85
    +# You can override this on the command line.
    
    85 86
     #
    
    86
    -ANSIFLAGS := -std=c99 -pedantic
    
    87
    +ANSIFLAGS ?= -std=c99 -pedantic
    
    87 88
     
    
    88 89
     
    
    89 90
     # Library linking
    

  • builds/compiler/gcc.mk
    ... ... @@ -65,7 +65,7 @@ CFLAGS ?= -c -g -O3 -Wall
    65 65
     
    
    66 66
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    67 67
     #
    
    68
    -ANSIFLAGS := -std=c99 -pedantic
    
    68
    +ANSIFLAGS ?= -std=c99 -pedantic
    
    69 69
     
    
    70 70
     
    
    71 71
     # Library linking
    

  • builds/compiler/intelc.mk
    ... ... @@ -74,7 +74,7 @@ CFLAGS ?= /nologo /c /Ox /G5 /W3 /Qwd32
    74 74
     
    
    75 75
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    76 76
     #
    
    77
    -ANSIFLAGS := /Qansi_alias /Za
    
    77
    +ANSIFLAGS ?= /Qansi_alias /Za
    
    78 78
     
    
    79 79
     # Library linking
    
    80 80
     #
    

  • builds/compiler/unix-lcc.mk
    ... ... @@ -71,7 +71,7 @@ CFLAGS ?= -c -g
    71 71
     #
    
    72 72
     #  the "-A" flag simply increments verbosity about non ANSI code
    
    73 73
     #
    
    74
    -ANSIFLAGS := -A
    
    74
    +ANSIFLAGS ?= -A
    
    75 75
     
    
    76 76
     
    
    77 77
     # library linking
    

  • builds/compiler/visualc.mk
    ... ... @@ -70,7 +70,7 @@ CFLAGS ?= /nologo /c /Ox /W3 /WX
    70 70
     
    
    71 71
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    72 72
     #
    
    73
    -ANSIFLAGS := /Za /D_CRT_SECURE_NO_DEPRECATE
    
    73
    +ANSIFLAGS ?= /Za /D_CRT_SECURE_NO_DEPRECATE
    
    74 74
     
    
    75 75
     
    
    76 76
     # Library linking
    

  • builds/compiler/watcom.mk
    ... ... @@ -67,7 +67,7 @@ CFLAGS ?= -zq
    67 67
     
    
    68 68
     # ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
    
    69 69
     #
    
    70
    -ANSIFLAGS := -za
    
    70
    +ANSIFLAGS ?= -za
    
    71 71
     
    
    72 72
     
    
    73 73
     # Library linking
    

  • builds/compiler/win-lcc.mk
    ... ... @@ -69,7 +69,7 @@ CFLAGS ?= -c -g2 -O
    69 69
     #
    
    70 70
     #  LCC is pure ANSI anyway!
    
    71 71
     #
    
    72
    -ANSIFLAGS :=
    
    72
    +ANSIFLAGS ?=
    
    73 73
     
    
    74 74
     
    
    75 75
     # library linking
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]