diff options
Diffstat (limited to 'system/postgresql17/postgresql17.SlackBuild')
-rw-r--r-- | system/postgresql17/postgresql17.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/system/postgresql17/postgresql17.SlackBuild b/system/postgresql17/postgresql17.SlackBuild index 748491e283..095695331a 100644 --- a/system/postgresql17/postgresql17.SlackBuild +++ b/system/postgresql17/postgresql17.SlackBuild @@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=postgresql17 SRCNAM=postgresql -VERSION=${VERSION:-17.4} +VERSION=${VERSION:-17.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,10 +76,10 @@ else fi if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-O2 -march=i586 -mtune=i686 -msse2" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686 -msse2" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" @@ -103,6 +103,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +export CC="clang" +export CPP="clang-cpp" +export CXX="clang++" + CFLAGS="$SLKCFLAGS" \ PYTHON="/usr/bin/python3" \ ./configure \ @@ -119,7 +123,6 @@ PYTHON="/usr/bin/python3" \ --with-python \ --with-libxml \ --with-libxslt \ - --enable-thread-safety \ --with-system-tzdata=/usr/share/zoneinfo \ --$NLS-nls \ --build=$ARCH-slackware-linux |