summaryrefslogtreecommitdiff
path: root/desktop/scripts
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-01-14 10:23:57 +0100
committerDavid Tardon <dtardon@redhat.com>2012-01-15 20:12:01 +0100
commitc475316c00056ab2c59438fb78705c2a851f292b (patch)
tree74f9703b3a32157ddf88a432eb10973004fafbdf /desktop/scripts
parentf4092cb7657b0a403078d593cb612431858150ca (diff)
simplify handling of JITC_PROCESSOR_TYPE
Diffstat (limited to 'desktop/scripts')
-rw-r--r--desktop/scripts/Makefile6
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