From: Jo-Philipp Wich Date: Mon, 1 Aug 2011 00:34:09 +0000 (+0000) Subject: [PATCH] #9863: don't export target $PROFILE into postgresql X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=b968086a270c4e55625573fda4cad2a3d8a75d4f [PATCH] #9863: don't export target $PROFILE into postgresql PROFILE is overloaded by postgresql versus how target's define it. Fixes: https://dev.openwrt.org/ticket/9863 Signed-off-by: Philip Prindeville SVN-Revision: 27856 --- diff --git a/libs/postgresql/Makefile b/libs/postgresql/Makefile index 2120155ad0..bd774873fb 100644 --- a/libs/postgresql/Makefile +++ b/libs/postgresql/Makefile @@ -156,6 +156,9 @@ endef TARGET_CFLAGS += $(FPIC) +# because PROFILE means something else in the project Makefile +unexport PROFILE + define Build/Compile $(MAKE) $(PKG_JOBS) -C "$(PKG_BUILD_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \