summaryrefslogtreecommitdiff
path: root/config/mh-ppc-darwin
blob: 231415e5401d3f52ad8fa9edeba72982f136be10 (plain)
1
2
3
4
5
6
7
8
9
10
11
# The -mdynamic-no-pic ensures that the compiler executable is built without
# position-independent-code -- the usual default on Darwin. This fix speeds
# compiles by 3-5%.

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

# The spiffy cpp-precomp chokes on some legitimate constructs in GCC
# sources; use -no-cpp-precomp to get to GNU cpp.
# Apple's GCC has bugs in designated initializer handling, so disable
# that too.
STAGE1_CFLAGS += -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0