mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
- gcc-2.95 doesn't support -static-libgcc
- remove Winline
This commit is contained in:
parent
116080a13a
commit
a528643330
@ -175,8 +175,11 @@ CHECKED_CFLAGS+=$(call check_cc,$(CC),-Wshadow,)
|
|||||||
CHECKED_CFLAGS+=$(call check_cc,$(CC),-funsigned-char,)
|
CHECKED_CFLAGS+=$(call check_cc,$(CC),-funsigned-char,)
|
||||||
CHECKED_CFLAGS+=$(call check_cc,$(CC),-fno-builtin-strlen,)
|
CHECKED_CFLAGS+=$(call check_cc,$(CC),-fno-builtin-strlen,)
|
||||||
CHECKED_CFLAGS+=$(call check_cc,$(CC),-finline-limit=0,)
|
CHECKED_CFLAGS+=$(call check_cc,$(CC),-finline-limit=0,)
|
||||||
CHECKED_CFLAGS+=$(call check_cc,$(CC),-Winline,)
|
|
||||||
CHECKED_CFLAGS+=$(call check_cc,$(CC),-static-libgcc,)
|
# gcc 2.95 exits with 0 for "unrecognized option"
|
||||||
|
ifeq ($(strip $(shell [ $(CC_MAJOR) -ge 3 ] ; echo $$?)),0)
|
||||||
|
CHECKED_CFLAGS+=$(call check_cc,$(CC),-static-libgcc,)
|
||||||
|
endif
|
||||||
|
|
||||||
# Preemptively pin this too.
|
# Preemptively pin this too.
|
||||||
PROG_CFLAGS:=
|
PROG_CFLAGS:=
|
||||||
|
Loading…
Reference in New Issue
Block a user