summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 04f8d5651..27f85205c 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
@@ -213,7 +215,7 @@ NO_ERROR=0
@echo "_PATH:=$$PATH" >>prereq.mk
@echo "PATH:=\$${TOPDIR}/scripts:/usr/sbin:$$PATH" >>prereq.mk
@echo "SHELL:=$$(which bash)" >>prereq.mk
- @echo "HOST_LIBIDL_CONFIG:=$$(which libIDL-config-2 2>/dev/null)" >>prereq.mk
+ @echo "BUILD_LIBIDL_CONFIG:=$$(which libIDL-config-2 2>/dev/null)" >>prereq.mk
@echo "PKG_HOSTLIB_DIR=$$(eval pkg-config --variable pc_path pkg-config 2>/dev/null)" >/dev/null
@echo "PKG_HOSTLIB_DIR:=$${PKG_HOSTLIB_DIR:-/usr/lib/pkgconfig}" >>prereq.mk
@env NO_ERROR=${NO_ERROR} BASH="$$(which bash)" \