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 | BOOT_CFLAGS += -mdynamic-no-pic | |
5 | ||
6 | # Ensure we don't try and use -pie, as it is incompatible with pch. | |
7 | BOOT_LDFLAGS += `case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;; esac;` |