diff Makefile @ 287:92ac81dea92d

bugfix: unset any environment variables which might cause trouble
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 07 Mar 2009 21:59:35 +0100
parents 08a32251156c
children f54628fa99b8
line wrap: on
line diff
--- a/Makefile	Sat Mar 07 10:58:27 2009 +0100
+++ b/Makefile	Sat Mar 07 21:59:35 2009 +0100
@@ -15,6 +15,25 @@
 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)))