summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
Diffstat (limited to 'ios')
-rw-r--r--ios/CustomTarget_TiledLibreOffice_app.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/ios/CustomTarget_TiledLibreOffice_app.mk b/ios/CustomTarget_TiledLibreOffice_app.mk
index 5ca37a9ff5f1..01ca06f8032f 100644
--- a/ios/CustomTarget_TiledLibreOffice_app.mk
+++ b/ios/CustomTarget_TiledLibreOffice_app.mk
@@ -14,7 +14,14 @@ BUILDID :=$(shell cd $(SRCDIR) && git log -1 --format=%H)
#- Macros ---------------------------------------------------------------------
define TiledLibreOfficeXcodeBuild
- CC=;xcodebuild -project experimental/TiledLibreOffice/TiledLibreOffice.xcodeproj -target TiledLibreOffice -arch $(XCODE_ARCHS) -configuration $(if $(ENABLE_DEBUG),Debug,Release) $(1) $(if $(verbose)$(VERBOSE),,>/dev/null)
+ CC=; \
+ tempfile=`mktemp -t customtarget.tiledlibreoffice.XXXXXX`; \
+ xcodebuild \
+ -project experimental/TiledLibreOffice/TiledLibreOffice.xcodeproj \
+ -target TiledLibreOffice \
+ -arch $(XCODE_ARCHS) \
+ -configuration $(if $(ENABLE_DEBUG),Debug,Release) \
+ $(1) $(if $(verbose)$(VERBOSE),,>$tempfile; test $$? = 0 || cat $tempfile; rm $tempfile)
endef
#- Targets --------------------------------------------------------------------