mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Merge "BuildSystem: Really do not pass unknown-warning options to the compiler."
This commit is contained in:
2
third-party/pjproject/patches/user.mak
vendored
2
third-party/pjproject/patches/user.mak
vendored
@@ -1,4 +1,4 @@
|
||||
|
||||
NUBSV := $(shell gcc -Wno-unused-but-set-variable -o /dev/null -xc -c - </dev/null 2>/dev/null && echo -Wno-unused-but-set-variable)
|
||||
NUBSV := $(shell ${CC} -Wno-unused-but-set-variable -Werror -o /dev/null -xc -c - </dev/null 2>/dev/null && echo -Wno-unused-but-set-variable)
|
||||
|
||||
CFLAGS += -fPIC $(NUBSV) -Wno-unused-variable -Wno-unused-label -Wno-unused-function -Wno-strict-aliasing
|
||||
|
Reference in New Issue
Block a user