aboutsummaryrefslogtreecommitdiff
path: root/network/dobbscoin
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-06-05 12:21:49 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:18:57 -0500
commit337bf4b8a9e59e67c4a02d75e2dcd779ba911cf2 (patch)
tree704603c6aa06e589532bbfe3286e7af6fa0314f2 /network/dobbscoin
parentabee85f0ea483328168bd25d39cc48154024972f (diff)
network/dobbscoin: Switch to clang to let it build, changed md5sum.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/dobbscoin')
-rw-r--r--network/dobbscoin/dobbscoin.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/network/dobbscoin/dobbscoin.SlackBuild b/network/dobbscoin/dobbscoin.SlackBuild
index defc639fc5bd..a3d5048c1322 100644
--- a/network/dobbscoin/dobbscoin.SlackBuild
+++ b/network/dobbscoin/dobbscoin.SlackBuild
@@ -31,7 +31,7 @@ TAG=${TAG:-_SBo}
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"
@@ -83,6 +83,9 @@ patch -p1 < $CWD/miniupnpc-1.9-api.patch
./autogen.sh
+export CC=clang
+export CXX=clang++
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \