summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--os/macosx/Makefile5
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 85659028f..3f2c7d28d 100644
--- a/Makefile
+++ b/Makefile
@@ -834,7 +834,7 @@ OSX:=OSX
endif
-all: endian_target.h endian_host.h $(UPDATECONFIG) $(LANGS) $(TTD) $(OSX) $(UNITTEST)
+all: endian_target.h endian_host.h $(UPDATECONFIG) $(LANGS) $(TTD) $(OSX)
ifdef OSX
-include os/macosx/Makefile
diff --git a/os/macosx/Makefile b/os/macosx/Makefile
index 217569db4..cc425ed4a 100644
--- a/os/macosx/Makefile
+++ b/os/macosx/Makefile
@@ -42,6 +42,9 @@ endif
ifndef LIPO
LIPO := lipo
endif
+ifndef STRIP
+STRIP := strip
+endif
# targets to link OpenTTD
$(TTD): $(OTTD_PPC) $(OTTD_i386) $(OTTD_PPC970)
@@ -101,7 +104,7 @@ endif
# manual strip, as the -s option fails
$(OSX_STRIP): $(TTD)
- $(Q)strip openttd
+ $(Q)$(STRIP) openttd
ifdef JAGUAR
JAGUAR_POSTFIX := -jaguar