Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
22cbec8d
Commit
22cbec8d
authored
Aug 19, 2010
by
Ian Lynagh
Browse files
Set -march=i686 on OS X x86 in the configure variables
We used to set it only in machdepCCOpts, so this is more consistent
parent
aa5e377a
Changes
1
Hide whitespace changes
Inline
Side-by-side
aclocal.m4
View file @
22cbec8d
...
...
@@ -11,8 +11,12 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
[
case $$1 in
i386-apple-darwin|powerpc-apple-darwin)
$2="$$2 -m32"
$3="$$3 -m32"
# By default, gcc on OS X will generate SSE
# instructions, which need things 16-byte aligned,
# but we don't 16-byte align things. Thus drop
# back to generic i686 compatibility. Trac #2983.
$2="$$2 -march=i686 -m32"
$3="$$3 -march=i686 -m32"
;;
x86_64-apple-darwin)
$2="$$2 -m64"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment