[build] Allow overriding of `ANSIFLAGS` for GNU make build.
* builds/*: Implement it.
This commit is contained in:
parent
28eee3636c
commit
2bfdc161fb
|
@ -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.
|
||||
|
|
|
@ -71,7 +71,7 @@ CFLAGS ?= -c
|
|||
|
||||
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
|
||||
#
|
||||
ANSIFLAGS :=
|
||||
ANSIFLAGS ?=
|
||||
|
||||
|
||||
# EOF
|
||||
|
|
|
@ -73,7 +73,7 @@ CFLAGS ?= -c
|
|||
|
||||
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
|
||||
#
|
||||
ANSIFLAGS :=
|
||||
ANSIFLAGS ?=
|
||||
|
||||
|
||||
# EOF
|
||||
|
|
|
@ -68,7 +68,7 @@ CFLAGS ?= -c
|
|||
#
|
||||
# we assume the compiler is already strictly ANSI
|
||||
#
|
||||
ANSIFLAGS :=
|
||||
ANSIFLAGS ?=
|
||||
|
||||
|
||||
# Library linking
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
|
@ -71,7 +71,7 @@ CFLAGS ?= -c -g
|
|||
#
|
||||
# the "-A" flag simply increments verbosity about non ANSI code
|
||||
#
|
||||
ANSIFLAGS := -A
|
||||
ANSIFLAGS ?= -A
|
||||
|
||||
|
||||
# library linking
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -67,7 +67,7 @@ CFLAGS ?= -zq
|
|||
|
||||
# ANSIFLAGS: Put there the flags used to make your compiler ANSI-compliant.
|
||||
#
|
||||
ANSIFLAGS := -za
|
||||
ANSIFLAGS ?= -za
|
||||
|
||||
|
||||
# Library linking
|
||||
|
|
|
@ -69,7 +69,7 @@ CFLAGS ?= -c -g2 -O
|
|||
#
|
||||
# LCC is pure ANSI anyway!
|
||||
#
|
||||
ANSIFLAGS :=
|
||||
ANSIFLAGS ?=
|
||||
|
||||
|
||||
# library linking
|
||||
|
|
Loading…
Reference in New Issue