mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
INIT/cc.darwin: re-suppress redefined macro warnings (re: a1d8ff6f)
Allowing redefined macro warnings was not such a good idea, as the Apple compiler flags redefine the _ast_int8_t macro right on the command line, producing a warning for every cc invocation. (cherry picked from commit 929930224f898cb1371471fe554fabb73b31d11f)
This commit is contained in:
parent
778b3da79a
commit
3a3776f1df
2 changed files with 17 additions and 1 deletions
|
@ -46,7 +46,7 @@ init) echo "cc: arguments expected" >&2
|
|||
cpp) $CC -E "$@"
|
||||
;;
|
||||
cc) $CC -DSHOPT_SPAWN=0 -D_ast_int8_t=int64_t -D_lib_memccpy \
|
||||
-Wno-unused-value -Wno-parentheses "$@"
|
||||
-Wno-unused-value -Wno-parentheses -Wno-macro-redefined "$@"
|
||||
;;
|
||||
dll) $CC -Wl,-flat_namespace -dynamiclib -undefined dynamic_lookup "$@"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue