[PATCH] #9863: don't export target $PROFILE into postgresql
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 1 Aug 2011 00:34:09 +0000 (00:34 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 1 Aug 2011 00:34:09 +0000 (00:34 +0000)
PROFILE is overloaded by postgresql versus how target's define it.

Fixes: https://dev.openwrt.org/ticket/9863

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27856

libs/postgresql/Makefile

index 2120155..bd77487 100644 (file)
@@ -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)" \