fix dynext flags for Mac to include -m32 (merge to 4.2.3)

svn: r16961
This commit is contained in:
Matthew Flatt 2009-11-22 15:27:07 +00:00
parent d94360ddfc
commit 8a5c0e854a

View File

@ -73,8 +73,8 @@
(define gcc-compile-flags (append '("-c" "-O2" "-fPIC")
(case (string->symbol (path->string (system-library-subpath #f)))
[(ppc-macosx i386-macosx x86_64-macosx) '("-fno-common")]
[(ppc-darwin) '("-fno-common")]
[(i386-macosx i386-darwin) '("-m32" "-fno-common")]
[(ppc-macosx ppc-darwin x86_64-macosx x86_64-darwin) '("-fno-common")]
[(win32\\i386) '("-DAS_MSVC_EXTENSION")]
[else null])
gcc-cpp-flags))