# HG changeset patch # User Volker Grabsch # Date 1276973312 -7200 # Node ID 4f4354ddd6ae49cf69eadb4956762295003b1fa2 # Parent a04241aba8c6679cde821417c98142da1e22eb27 really unexport the troublesome environment variables, rather than just setting them to empty strings diff -r a04241aba8c6 -r 4f4354ddd6ae Makefile --- a/Makefile Sat Jun 19 16:52:16 2010 +0200 +++ b/Makefile Sat Jun 19 20:48:32 2010 +0200 @@ -20,28 +20,28 @@ LIBTOOLIZE := $(shell glibtoolize --help >/dev/null 2>&1 && echo g)libtoolize VERSION := $(shell $(SED) -n 's,^.*\([^<]*\).*$$,\1,p' '$(TOP_DIR)/doc/index.html') -# unset any environment variables which might cause trouble -AR = -CC = -CFLAGS = -CPP = -CPPFLAGS = -CROSS = -CXX = -CXXCPP = -CXXFLAGS = -EXEEXT = -EXTRA_CFLAGS = -EXTRA_LDFLAGS = -LD = -LDFLAGS = -LIBS = -NM = -PKG_CONFIG = -PKG_CONFIG_PATH = -QMAKESPEC = -RANLIB = -STRIP = +# unexport any environment variables that might cause trouble +unexport AR +unexport CC +unexport CFLAGS +unexport CPP +unexport CPPFLAGS +unexport CROSS +unexport CXX +unexport CXXCPP +unexport CXXFLAGS +unexport EXEEXT +unexport EXTRA_CFLAGS +unexport EXTRA_LDFLAGS +unexport LD +unexport LDFLAGS +unexport LIBS +unexport NM +unexport PKG_CONFIG +unexport PKG_CONFIG_PATH +unexport QMAKESPEC +unexport RANLIB +unexport STRIP SHORT_PKG_VERSION = \ $(word 1,$(subst ., ,$($(1)_VERSION))).$(word 2,$(subst ., ,$($(1)_VERSION)))