[llvm-commits] [llvm-gcc-4.2] r90190 - /llvm-gcc-4.2/trunk/config/mh-x86-darwin
Eric Christopher
echristo at apple.com
Mon Nov 30 18:29:55 PST 2009
Author: echristo
Date: Mon Nov 30 20:29:55 2009
New Revision: 90190
URL: http://llvm.org/viewvc/llvm-project?rev=90190&view=rev
Log:
Build without pie by default.
Modified:
llvm-gcc-4.2/trunk/config/mh-x86-darwin
Modified: llvm-gcc-4.2/trunk/config/mh-x86-darwin
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/config/mh-x86-darwin?rev=90190&r1=90189&r2=90190&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/config/mh-x86-darwin (original)
+++ llvm-gcc-4.2/trunk/config/mh-x86-darwin Mon Nov 30 20:29:55 2009
@@ -3,3 +3,8 @@
# position-independent-code -- the usual default on Darwin.
BOOT_CFLAGS=-g -O2 -mdynamic-no-pic
+
+# LLVM LOCAL
+# For hosts after darwin10 we want to pass in -no-pie
+BOOT_LDFLAGS=`case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;; esac;`
+LDFLAGS=$(BOOT_LDFLAGS)
More information about the llvm-commits
mailing list