From: Bernhard Reutner-Fischer Date: Wed, 21 Dec 2005 13:36:47 +0000 (-0000) Subject: - use HOSTCC instead of hardcoded compiler which may or may not be available. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e40d0e28a3197abcd399e80c62380aa3b177cba5;p=buildroot.git - use HOSTCC instead of hardcoded compiler which may or may not be available. --- diff --git a/target/makedevs/makedevs.mk b/target/makedevs/makedevs.mk index c700dc4168..334f65fa25 100644 --- a/target/makedevs/makedevs.mk +++ b/target/makedevs/makedevs.mk @@ -13,7 +13,7 @@ $(MAKEDEVS_DIR)/makedevs.c: target/makedevs/makedevs.c cp target/makedevs/makedevs.c $(MAKEDEVS_DIR) $(MAKEDEVS_DIR)/makedevs: $(MAKEDEVS_DIR)/makedevs.c - gcc -Wall -Werror -O2 $(MAKEDEVS_DIR)/makedevs.c -o $(MAKEDEVS_DIR)/makedevs + $(HOSTCC) -Wall -Werror -O2 $(MAKEDEVS_DIR)/makedevs.c -o $(MAKEDEVS_DIR)/makedevs touch -c $(MAKEDEVS_DIR)/makedevs $(STAGING_DIR)/bin/makedevs: $(MAKEDEVS_DIR)/makedevs