diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-09-07 05:18:01 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-09-07 11:12:20 +0200 |
commit | 961e62754b0ece043c73ff121d5c226eda40de68 (patch) | |
tree | 881afba1b5658934da5041bf49a6a0e8e6e06389 /crawl-ref/source/Makefile | |
parent | 5ba7f9e077c4a4e0f62b1a0e4c6b11ef4aea1fc6 (diff) | |
download | crawl-ref-961e62754b0ece043c73ff121d5c226eda40de68.tar.gz crawl-ref-961e62754b0ece043c73ff121d5c226eda40de68.zip |
Disable compiler optimization on Apple's gcc altogether.
Not even -O1 works well enough.
Diffstat (limited to 'crawl-ref/source/Makefile')
-rw-r--r-- | crawl-ref/source/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/Makefile b/crawl-ref/source/Makefile index 7365f0d9aa..8a2ce7e317 100644 --- a/crawl-ref/source/Makefile +++ b/crawl-ref/source/Makefile @@ -527,7 +527,7 @@ else ifneq (,$(shell $(GXX) --version|grep 'g++.*4\.2\.')) # OS X uses a buggy ancient version of gcc without fixes from even # subsequent point releases of 4.2. - CFOPTIMIZE := -O1 + CFOPTIMIZE := -O0 else CFOPTIMIZE := -O2 endif |