aboutsummaryrefslogtreecommitdiff
path: root/libraries/libev/libev.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-06 21:35:51 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-07 14:19:40 +0200
commite72c9896666e40259e0942daa4cca81951e55bf4 (patch)
tree0e05cacb87fafe0d3219208298a4468b518c0513 /libraries/libev/libev.SlackBuild
parent33a1ee6a02f76d7eef259af8c6a7d2c4e1e6d6ac (diff)
libraries/libev: Forced CFLAGS.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 c994d97a62f2..bcbe0c28ecd3 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 \