aboutsummaryrefslogtreecommitdiff
path: root/Makefile.vofiles
diff options
context:
space:
mode:
authorEnrico Tassi2019-02-07 17:33:44 +0100
committerEnrico Tassi2019-02-07 17:33:44 +0100
commite209341f6b9858279d2fe53d1eb795ff25925eed (patch)
tree0fe0035e1688dd878a17e3f464de0d4fe0d82c0d /Makefile.vofiles
parent99c1d7b0ae1beed66fe8dd6a06db84dc0c8322d8 (diff)
parentf29aa6720eba884533972530b4283bf19d8410aa (diff)
Merge PR #9477: Makefiles: Fixes for byte compilation
Reviewed-by: gares
Diffstat (limited to 'Makefile.vofiles')
-rw-r--r--Makefile.vofiles7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.vofiles b/Makefile.vofiles
index d5217ef4b7..a71d68e565 100644
--- a/Makefile.vofiles
+++ b/Makefile.vofiles
@@ -42,7 +42,10 @@ GLOBFILES:=$(ALLVO:.$(VO)=.glob)
endif
ifdef NATIVECOMPUTE
-NATIVEFILES := $(call vo_to_cm,$(ALLVO)) $(call vo_to_obj,$(ALLVO))
+NATIVEFILES := $(call vo_to_cm,$(ALLVO))
+ifeq ($(BEST),opt)
+NATIVEFILES += $(call vo_to_obj,$(ALLVO))
+endif
else
NATIVEFILES :=
endif
@@ -50,5 +53,5 @@ LIBFILES:=$(ALLVO:.$(VO)=.vo) $(NATIVEFILES) $(VFILES) $(GLOBFILES)
# For emacs:
# Local Variables:
-# mode: makefile
+# mode: makefile-gmake
# End: