diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2015-10-10 12:08:37 +0100 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2015-10-10 12:08:37 +0100 |
| commit | 1e42b1b08e382cd0bb2f435ebc402e8f14a75c05 (patch) | |
| tree | cdada0ddcd91013d5165ffcc68b51d073c727afb /mkfiles/mkfile-MacOSX-386 | |
| parent | d3641b487cf5cdc46e9b537d30eb37736e5c7b1a (diff) | |
suppress overly fussy clang warnings for non C-programmers; ensure min macosx version 10.6; use cc not gcc
Diffstat (limited to 'mkfiles/mkfile-MacOSX-386')
| -rw-r--r-- | mkfiles/mkfile-MacOSX-386 | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/mkfiles/mkfile-MacOSX-386 b/mkfiles/mkfile-MacOSX-386 index 348e1690..015a5327 100644 --- a/mkfiles/mkfile-MacOSX-386 +++ b/mkfiles/mkfile-MacOSX-386 @@ -9,18 +9,25 @@ AR= ar ARFLAGS= ruvs A= a -AS= gcc -c -arch i386 -m32 -ASFLAGS= +AS= cc -c -arch i386 -m32 +ASFLAGS= -mmacosx-version-min=10.6 ISYSROOT= -isysroot /Developer/SDKs/MacOSX10.6.sdk -CC= gcc -c -m32 +CC= cc -c -m32 COPTFLAGS= -Os CDEBUGFLAGS= CTHREADFLAGS= CFLAGS= -arch i386 -m32\ -mmacosx-version-min=10.6\ -Wno-deprecated-declarations -Wuninitialized -Wunused -Wreturn-type -Wimplicit -Wno-four-char-constants -Wno-unknown-pragmas\ + -Wno-main-return-type \ + -Wno-logical-op-parentheses \ + -Wno-constant-conversion -Wno-bitwise-op-parentheses -Wno-unused-function \ + -Wno-shift-op-parentheses -Wno-dangling-else \ + -Wno-parentheses \ + -Wno-switch \ + -Wno-tautological-compare \ -pipe\ -fno-strict-aliasing\ -no-cpp-precomp\ @@ -28,9 +35,9 @@ CFLAGS= -arch i386 -m32\ -I$ROOT/include\ $COPTFLAGS $CDEBUGFLAGS\ -LD= gcc -arch i386 -m32 +LD= cc -arch i386 -m32 LDFLAGS=\ - -mmacosx-version-min=10.4\ + -mmacosx-version-min=10.6\ -multiply_defined suppress SYSLIBS= |
