summaryrefslogtreecommitdiffstats
path: root/Tasks/distribution/install/default/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Tasks/distribution/install/default/Makefile')
-rw-r--r--Tasks/distribution/install/default/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Tasks/distribution/install/default/Makefile b/Tasks/distribution/install/default/Makefile
index fc1c15f..1c458f4 100644
--- a/Tasks/distribution/install/default/Makefile
+++ b/Tasks/distribution/install/default/Makefile
@@ -30,8 +30,10 @@ FILES=$(BUILT_FILES) $(METADATA) runtest.sh Makefile
build: $(BUILT_FILES)
ifeq ($(shell arch),x86_64)
@echo "x86_64 arch, hvm_detect will be built"
- gcc $(BINFILE).c -o ./$(BINFILE)
- chmod a+x ./$(BINFILE)
+ if which gcc; then
+ gcc $(BINFILE).c -o ./$(BINFILE)
+ chmod a+x ./$(BINFILE)
+ fi
endif
chmod a+x ./runtest.sh