diff --git a/collects/dynext/compile-unit.ss b/collects/dynext/compile-unit.ss index ddc8783b7f..164c6baa7a 100644 --- a/collects/dynext/compile-unit.ss +++ b/collects/dynext/compile-unit.ss @@ -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))