summaryrefslogtreecommitdiff
path: root/libraries/libev/libev.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libev/libev.SlackBuild')
-rw-r--r--libraries/libev/libev.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/libev/libev.SlackBuild b/libraries/libev/libev.SlackBuild
index c994d97a62..bcbe0c28ec 100644
--- a/libraries/libev/libev.SlackBuild
+++ b/libraries/libev/libev.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=libev
VERSION=${VERSION:-4.11}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -52,6 +52,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Force CFLAGS
+sed -i "s|-g -O3|$SLKCFLAGS|" configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \