summaryrefslogtreecommitdiff
path: root/target/tools/trx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/tools/trx/Makefile')
-rw-r--r--target/tools/trx/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/tools/trx/Makefile b/target/tools/trx/Makefile
index 2def53424..d1832ee8c 100644
--- a/target/tools/trx/Makefile
+++ b/target/tools/trx/Makefile
@@ -1,4 +1,4 @@
include $(TOPDIR)/rules.mk
-all:
- $(HOSTCC) ${HOSTCFLAGS} -o ${STAGING_HOST_DIR}/bin/trx trx.c
+all: trx.c
+ $(CC_FOR_BUILD) $(FLAGS_FOR_BUILD) -o ${STAGING_HOST_DIR}/bin/trx trx.c