From e82e715e89dde09644b274e452f437b6fe88a254 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 19 Jan 2011 23:49:22 +0100 Subject: add XX_FOR_BUILD variables, they are more standard compliant and used by autotools --- target/tools/addpattern/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target/tools/addpattern/Makefile') diff --git a/target/tools/addpattern/Makefile b/target/tools/addpattern/Makefile index c60561ccf..596daeb52 100644 --- a/target/tools/addpattern/Makefile +++ b/target/tools/addpattern/Makefile @@ -1,4 +1,4 @@ include $(TOPDIR)/rules.mk -all: - $(HOSTCC) ${HOSTCFLAGS} -o ${STAGING_HOST_DIR}/bin/addpattern addpattern.c +all: addpattern.c + $(CC_FOR_BUILD) $(FLAGS_FOR_BUILD) -o ${STAGING_HOST_DIR}/bin/addpattern addpattern.c -- cgit v1.2.3