summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-03-07 20:59:35 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-03-07 20:59:35 (GMT)
commit1b08fbc264f6d13722785a7555e654497f9ce9be (patch)
tree777f4728f603d3dee12a818f343f0769c4e71f69
parentb2c49fd8f00c8da2b394484865462540fb47fdb5 (diff)
downloadmxe-1b08fbc264f6d13722785a7555e654497f9ce9be.zip
mxe-1b08fbc264f6d13722785a7555e654497f9ce9be.tar.gz
mxe-1b08fbc264f6d13722785a7555e654497f9ce9be.tar.bz2
bugfix: unset any environment variables which might cause trouble
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f495c5a..e66ded1 100644
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,25 @@ SHELL := bash
SED := $(shell gsed --help >/dev/null 2>&1 && echo g)sed
INSTALL := $(shell ginstall --help >/dev/null 2>&1 && echo g)install
+# unset any environment variables which might cause trouble
+AR =
+CC =
+CFLAGS =
+CPP =
+CPPFLAGS =
+CROSS =
+CXX =
+CXXCPP =
+CXXFLAGS =
+EXEEXT =
+LD =
+LDFLAGS =
+LIBS =
+NM =
+PKG_CONFIG =
+RANLIB =
+STRIP =
+
SHORT_PKG_VERSION = \
$(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION)))