[build] Allow overriding of `ANSIFLAGS` for GNU make build.

* builds/*: Implement it.
This commit is contained in:
Werner Lemberg 2021-05-29 00:27:40 +02:00
parent 28eee3636c
commit 2bfdc161fb
14 changed files with 20 additions and 13 deletions

View File

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

View File

@ -71,7 +71,7 @@ CFLAGS ?= -c
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS :=
ANSIFLAGS ?=
# EOF

View File

@ -73,7 +73,7 @@ CFLAGS ?= -c
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS :=
ANSIFLAGS ?=
# EOF

View File

@ -68,7 +68,7 @@ CFLAGS ?= -c
#
# we assume the compiler is already strictly ANSI
#
ANSIFLAGS :=
ANSIFLAGS ?=
# Library linking

View File

@ -67,7 +67,7 @@ CFLAGS ?= -q -c -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS := -A
ANSIFLAGS ?= -A
# Library linking

View File

@ -67,7 +67,7 @@ CFLAGS ?= -c -q -y -d -v -Od -w-par -w-ccc -w-rch -w-pro -w-aus
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS := -A
ANSIFLAGS ?= -A
# Library linking

View File

@ -65,7 +65,7 @@ CFLAGS ?= -c -g -O6 -Wall
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS :=
ANSIFLAGS ?=
# Library linking

View File

@ -82,8 +82,9 @@ ifndef CFLAGS
endif
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
# You can override this on the command line.
#
ANSIFLAGS := -std=c99 -pedantic
ANSIFLAGS ?= -std=c99 -pedantic
# Library linking

View File

@ -65,7 +65,7 @@ CFLAGS ?= -c -g -O3 -Wall
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS := -std=c99 -pedantic
ANSIFLAGS ?= -std=c99 -pedantic
# Library linking

View File

@ -74,7 +74,7 @@ CFLAGS ?= /nologo /c /Ox /G5 /W3 /Qwd32
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS := /Qansi_alias /Za
ANSIFLAGS ?= /Qansi_alias /Za
# Library linking
#

View File

@ -71,7 +71,7 @@ CFLAGS ?= -c -g
#
# the "-A" flag simply increments verbosity about non ANSI code
#
ANSIFLAGS := -A
ANSIFLAGS ?= -A
# library linking

View File

@ -70,7 +70,7 @@ CFLAGS ?= /nologo /c /Ox /W3 /WX
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS := /Za /D_CRT_SECURE_NO_DEPRECATE
ANSIFLAGS ?= /Za /D_CRT_SECURE_NO_DEPRECATE
# Library linking

View File

@ -67,7 +67,7 @@ CFLAGS ?= -zq
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
#
ANSIFLAGS := -za
ANSIFLAGS ?= -za
# Library linking

View File

@ -69,7 +69,7 @@ CFLAGS ?= -c -g2 -O
#
# LCC is pure ANSI anyway!
#
ANSIFLAGS :=
ANSIFLAGS ?=
# library linking