summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGurhan Ozen <gozen@redhat.com>2010-07-02 16:27:27 +0000
committerGurhan Ozen <gozen@redhat.com>2010-07-02 16:27:27 +0000
commit36801b3acd366bbf17d77319c582326330850ac2 (patch)
treed6899d0308ab8296a0fb14d314a312299515b818
parent9e9d7f2d7f32027f7fc9ee5c365d8929c34c0f34 (diff)
don't try to build hvm_detect if there is no gcc availablerh-tests-distribution-install-default-1_10-7
-rw-r--r--Tasks/distribution/install/default/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tasks/distribution/install/default/Makefile b/Tasks/distribution/install/default/Makefile
index 1c458f4..002828e 100644
--- a/Tasks/distribution/install/default/Makefile
+++ b/Tasks/distribution/install/default/Makefile
@@ -30,10 +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"
- if which gcc; then
- gcc $(BINFILE).c -o ./$(BINFILE)
- chmod a+x ./$(BINFILE)
- fi
+ if which gcc; then \
+ gcc $(BINFILE).c -o ./$(BINFILE) ;\
+ chmod a+x ./$(BINFILE) ;\
+ fi;
endif
chmod a+x ./runtest.sh