projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1bed452
)
Tell gcc to support back to OS X 10.5
author
Ian Lynagh
<igloo@earth.li>
Fri, 3 Dec 2010 20:15:58 +0000
(20:15 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 3 Dec 2010 20:15:58 +0000
(20:15 +0000)
aclocal.m4
patch
|
blob
|
history
diff --git
a/aclocal.m4
b/aclocal.m4
index
1ca1ec6
..
3e673f9
100644
(file)
--- a/
aclocal.m4
+++ b/
aclocal.m4
@@
-24,6
+24,14
@@
AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
;;
esac
;;
esac
+ case $$1 in
+ i386-apple-darwin|x86_64-apple-darwin)
+ # We support back to OS X 10.5
+ $2="$$2 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5"
+ $3="$$3 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5"
+ ;;
+ esac
+
# If gcc knows about the stack protector, turn it off.
# Otherwise the stack-smash handler gets triggered.
echo 'int main(void) {return 0;}' > conftest.c
# If gcc knows about the stack protector, turn it off.
# Otherwise the stack-smash handler gets triggered.
echo 'int main(void) {return 0;}' > conftest.c