Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
-
6f064363
by Raymond Toy
at 2015-10-10T17:58:40Z
Remove -mmacosx-version-min=10.5
When making an executable on some random machine, we can't depend on
the user having the 10.5 SDK around. So remove the flag, but add
-Wl,-no_pie to suppress the warning about PIE disabled due to absolute
addressing.
1 changed file:
Changes:
src/tools/linker.sh
--- a/src/tools/linker.sh
+++ b/src/tools/linker.sh
@@ -98,7 +98,7 @@ case $uname_s in
# the desired version.) This gets rid of a PIE warning
# when creating the executable on 10.8. (See ticket:112.)
- OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -rdynamic -mmacosx-version-min=10.5"
+ OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -rdynamic -Wl,-no_pie"
OS_LIBS=
;;
powerpc)