X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FDynFlags.hs;h=ad17fa670cb37a482fe0c417e02e6852536efc6d;hb=97a8fe8780307e95829034117efa98d2e27109cd;hp=4e1b5ae23fe27854f12743a8befebf9447a97b7a;hpb=d52cb8fdc74b2ad74be5940cdbd549fedb2835ca;p=ghc-hetmet.git diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 4e1b5ae..ad17fa6 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -614,7 +614,7 @@ defaultDynFlags = outputFile = Nothing, outputHi = Nothing, - dynLibLoader = Deployable, + dynLibLoader = SystemDependent, dumpPrefix = Nothing, dumpPrefixForce = Nothing, includePaths = [], @@ -2258,7 +2258,13 @@ machdepCCOpts _dflags = ( [], ["-fomit-frame-pointer", "-G0"] ) #elif x86_64_TARGET_ARCH - = ( [], ["-fomit-frame-pointer", + = ( +#if darwin_TARGET_OS + ["-m64"], +#else + [], +#endif + ["-fomit-frame-pointer", "-fno-asynchronous-unwind-tables", -- the unwind tables are unnecessary for HC code, -- and get in the way of -split-objs. Another option @@ -2282,8 +2288,6 @@ machdepCCOpts _dflags -- for "normal" programs, but it doesn't support register variable -- declarations. = ( [], ["-no-cpp-precomp"] ) -#elif x86_64_apple_darwin_TARGET - = ( ["-m64"], [] ) #else = ( [], [] ) #endif