diff options
Diffstat (limited to 'desktop/scripts')
-rw-r--r-- | desktop/scripts/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/desktop/scripts/Makefile b/desktop/scripts/Makefile index 349c5dd1c155..a654b6b22a6d 100644 --- a/desktop/scripts/Makefile +++ b/desktop/scripts/Makefile @@ -26,7 +26,11 @@ # instead of those above. soffice.sh : $(SRCDIR)/desktop/scripts/soffice.sh - sed -e "s/^#@JITC_PROCESSOR_TYPE_EXPORT@/$(JITC_PROCESSOR_TYPE_EXPORT)/" $< > $@ +ifneq ($(JITC_PROCESSOR_TYPE),) + sed -e "s/^#@JITC_PROCESSOR_TYPE_EXPORT@/export JITC_PROCESSOR_TYPE=$(JITC_PROCESSOR_TYPE)/" $< > $@ +else + cp $< $@ +endif .DEFAULT_GOAL := all .PHONY : all |