aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.2.1-5666.3/config/mh-x86-darwin
blob: a1dcdcf341b81f1f0416f9ebf0f94d2acbf69ace (plain)
1
2
3
4
5
6
7
8
9
# APPLE LOCAL file dynamic-no-pic
# The -mdynamic-no-pic ensures that the compiler executable is built without
# position-independent-code -- the usual default on Darwin.

BOOT_CFLAGS=-g -O2 -mdynamic-no-pic

# 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)