diff options
author | Matteo Bernardini | 2018-09-22 08:05:57 +0200 |
---|---|---|
committer | Matteo Bernardini | 2018-09-22 08:05:57 +0200 |
commit | c2409cd065615c87628c139ae1363a1a8c74ed46 (patch) | |
tree | 377e15a0c84c297e32488f0a3f9a02b51923a226 /audio/alsamodularsynth/alsamodularsynth.SlackBuild | |
parent | 9244da3a67d16848cc6d7adcd82971b8d6c24274 (diff) | |
download | slackbuilds-d4abd1d57e700bb04ff5839438ede6f040aef568.tar.gz |
20180922.1 global branch merge.current-20180922.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/alsamodularsynth/alsamodularsynth.SlackBuild')
-rw-r--r-- | audio/alsamodularsynth/alsamodularsynth.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/audio/alsamodularsynth/alsamodularsynth.SlackBuild b/audio/alsamodularsynth/alsamodularsynth.SlackBuild index 60c79fccb5..088d4c44dd 100644 --- a/audio/alsamodularsynth/alsamodularsynth.SlackBuild +++ b/audio/alsamodularsynth/alsamodularsynth.SlackBuild @@ -31,7 +31,7 @@ TARNAM=ams if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -72,6 +72,9 @@ 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 CXX=clang++ + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ LIBS="-ldl" \ |