diff options
author | Jenkins2 <jenkins2@gerrit.asterisk.org> | 2018-01-15 07:24:06 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2018-01-15 07:24:06 -0600 |
commit | 569c1a0614f1d05cb7c2f01ac7d51d38af6e9de7 (patch) | |
tree | 0e2c8db88c16e230991b43666790c24ff1a196e7 | |
parent | 224b5bde96768c0ef984a0b3f6114ce81cabde8a (diff) | |
parent | cff3add6806875f66cf8ee7597b153ff089bec55 (diff) |
Merge "BuildSystem: Really do not pass unknown-warning options to the compiler."
-rw-r--r-- | third-party/pjproject/patches/user.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third-party/pjproject/patches/user.mak b/third-party/pjproject/patches/user.mak index dafb25919..b7eab5270 100644 --- a/third-party/pjproject/patches/user.mak +++ b/third-party/pjproject/patches/user.mak @@ -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 |