summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2006-05-27 23:16:37 +0000
committerbjarni <bjarni@openttd.org>2006-05-27 23:16:37 +0000
commita5a9b01452507affadce29f835d5c64788151b4b (patch)
treefb1dac625415cf03ed1c637881238756f22740f6 /Makefile
parent74e8c30aa68a2cfc17e5cb55b95253d568db5094 (diff)
downloadopenttd-a5a9b01452507affadce29f835d5c64788151b4b.tar.xz
(svn r4997) -Fix: [OSX] reverted the OSX part of rev 4994 as it caused dyld (lib) crashes
now OSX strips after linking again
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f675321d2..2e847214f 100644
--- a/Makefile
+++ b/Makefile
@@ -349,10 +349,16 @@ ifndef PROFILE
ifndef MORPHOS
ifndef IRIX
# automatical strip breaks under morphos
+ifdef OSX
+# it appears that OSX can't handle automated stripping when mixing C and C++
+# we will do it manually in the target OSX_STRIP
+OSX_STRIP:=OSX_STRIP
+else
LDFLAGS += -s
endif
endif
endif
+endif
ifdef OSX
# these compilerflags makes the app run as fast as possible without making the app unstable. It works on G3 or newer