Commit 1fc4b619 authored by Simon Marlow's avatar Simon Marlow

x86 needs -fno-unit-at-a-time too

Fixes #809
parent 1bda00ba
......@@ -1255,6 +1255,13 @@ machdepCCOpts dflags
-- apparently takes precedence over
-- -fomit-frame-pointer, so we disable it first here.
"-mno-omit-leaf-frame-pointer",
#endif
#ifdef HAVE_GCC_HAS_NO_UNIT_AT_A_TIME
"-fno-unit-at-a-time",
-- unit-at-a-time doesn't do us any good, and screws
-- up -split-objs by moving the split markers around.
-- It's only turned on with -O2, but put it here just
-- in case someone uses -optc-O2.
#endif
"-fomit-frame-pointer",
-- we want -fno-builtin, because when gcc inlines
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment