From e72c9896666e40259e0942daa4cca81951e55bf4 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 6 Sep 2012 21:35:51 +0200 Subject: libraries/libev: Forced CFLAGS. Signed-off-by: Matteo Bernardini --- libraries/libev/libev.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libraries/libev/libev.SlackBuild') 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 \ -- cgit v1.2.3