From 51b6b2deb1036d5e989c0886f9faea99c8badaaf Mon Sep 17 00:00:00 2001 From: Raymond Toy <toy.raymond@gmail.com> Date: Sun, 11 Oct 2015 08:58:06 -0700 Subject: [PATCH] Cleanup. Remove old comment, and remove the min OSX version on ppc too. --- src/tools/linker.sh | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/tools/linker.sh b/src/tools/linker.sh index 5e1069687..203eef8ef 100755 --- a/src/tools/linker.sh +++ b/src/tools/linker.sh @@ -92,12 +92,8 @@ case $uname_s in # Extra stuff. For some reason one __LINKEDIT segment is # mapped just past the dynamic space. This messes things # up, so we move it to another address. This seems to be - # free, at least on 10.5. - - # Also specify the min version. (See Config.x86_darwin for - # the desired version.) This gets rid of a PIE warning - # when creating the executable on 10.8. (See ticket:112.) - + # free, at least on 10.5. -no_pie is to get rid of the + # linker warning about PIE. OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -rdynamic -Wl,-no_pie" OS_LIBS= ;; @@ -106,7 +102,7 @@ case $uname_s in # just after the dynamic space which messes things up, so # we move it to a diffferent address. The address below # appears to be free. - OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -mmacosx-version-min=10.4 -static-libgcc" + OPT_EXTRA="-segaddr __LINKEDIT 0x99000000 -static-libgcc" OS_LIBS="-lSystem -lc -lm" ;; esac -- GitLab