mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 19:52:20 +00:00
INIT/cc.darwin: suppress another annoying compiler warning
src/cmd/INIT/cc.darwin: - Since the flags added from Apple's ksh-27.tar.gz Makefile explicitly redefine a macro, let's disable the warning on redefined macros. (cherry picked from commit 4b21a0abce8406e82d3afa4a68ef6bb56d98c797)
This commit is contained in:
parent
c9ccee86bb
commit
2887378ae3
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ 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 "$@"
|
||||
cc) $CC -DSHOPT_SPAWN=1 -D_ast_int8_t=int64_t -D_lib_memccpy \
|
||||
-Wno-unused-value -Wno-parentheses -Wno-macro-redefined "$@"
|
||||
;;
|
||||
dll) $CC -Wl,-flat_namespace -dynamiclib -undefined dynamic_lookup "$@"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue