postgresql does not support spinlocks on avr32
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Aug 2008 06:37:56 +0000 (06:37 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 5 Aug 2008 06:37:56 +0000 (06:37 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12122 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/postgresql/Makefile

index 8972651..43ceb65 100644 (file)
@@ -152,6 +152,7 @@ define Build/Configure
                        --without-tk \
                        --with-zlib="yes" \
                        --enable-depend \
+                       $(if $(CONFIG_TARGET_avr32),--disable-spinlocks) \
        );
        $(SED) 's@ECPG = ../../preproc/ecpg@ECPG = ../../preproc/ecpg.host@' $(PKG_BUILD_DIR)/src/interfaces/ecpg/test/Makefile.regress
        $(SED) 's@\./zic -d@./zic.host -d@' $(PKG_BUILD_DIR)/src/timezone/Makefile