Werner Lemberg pushed to branch master at FreeType / FreeType
Commits:
-
2bfdc161
by Werner Lemberg at 2021-05-29T00:27:40+02:00
14 changed files:
- ChangeLog
- builds/ansi/ansi-def.mk
- builds/beos/beos-def.mk
- builds/compiler/ansi-cc.mk
- builds/compiler/bcc-dev.mk
- builds/compiler/bcc.mk
- builds/compiler/emx.mk
- builds/compiler/gcc-dev.mk
- builds/compiler/gcc.mk
- builds/compiler/intelc.mk
- builds/compiler/unix-lcc.mk
- builds/compiler/visualc.mk
- builds/compiler/watcom.mk
- builds/compiler/win-lcc.mk
Changes:
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.
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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 |
#
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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
|
... | ... | @@ -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
|