Commit | Line | Data |
---|---|---|
1 | # The -mdynamic-no-pic ensures that the compiler executable is built without | |
2 | # position-independent-code -- the usual default on Darwin. This fix speeds | |
3 | # compiles by 3-5%. | |
4 | ||
5 | BOOT_CFLAGS=-g -O2 -mdynamic-no-pic | |
6 | ||
7 | # The spiffy cpp-precomp chokes on some legitimate constructs in GCC | |
8 | # sources; use -no-cpp-precomp to get to GNU cpp. | |
9 | # Apple's GCC has bugs in designated initializer handling, so disable | |
10 | # that too. | |
11 | STAGE1_CFLAGS += -no-cpp-precomp -DHAVE_DESIGNATED_INITIALIZERS=0 |