summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-19 23:49:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-19 23:49:22 +0100
commite82e715e89dde09644b274e452f437b6fe88a254 (patch)
treeb02b4a61d93ff440279275e933509aaa186faacd /Makefile
parent9bd580116f2f05685e5a332ed274eff14c04cee6 (diff)
add XX_FOR_BUILD variables, they are more standard compliant and used by autotools
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 04f8d5651..bcef6d5c2 100644
--- a/Makefile
+++ b/Makefile
@@ -203,6 +203,8 @@ NO_ERROR=0
-e 's/cris.*/cris/' \
-e 's/i[3-9]86/x86/' \
)" >>prereq.mk
+ @echo 'CC_FOR_BUILD:=${CC}' >>prereq.mk
+ @echo 'CXX_FOR_BUILD:=${CXX}' >>prereq.mk
@echo 'HOSTCC:=${CC}' >>prereq.mk
@echo 'HOSTCXX:=${CXX}' >>prereq.mk
@echo 'LANGUAGE:=C' >>prereq.mk