]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
libnetfilter_log: Fix build problem on i686.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Oct 2012 14:34:11 +0000 (16:34 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Oct 2012 14:34:11 +0000 (16:34 +0200)
libnetfilter_log/libnetfilter_log.nm

index 0d6f07928e42934bca7a6ce797fef99e9e8532e2..22c5b3f6e5dc68e044ffb6f95b77f7bf1ce9797c 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = libnetfilter_log
 version    = 1.0.1
-release    = 1
+release    = 2
 
 groups     = System/Libraries
 url        = http://www.netfilter.org/projects/libnetfilter_log/downloads.html
@@ -24,13 +24,14 @@ sources    = %{thisapp}.tar.bz2
 
 build
        requires
+               autoconf
+               automake
                libnfnetlink-devel
        end
 
-       # Disable any optimization because of
-       # https://bugzilla.ipfire.org/show_bug.cgi?id=10018
-       if "%{DISTRO_ARCH}" == "i686"
-               CFLAGS += -O0
+       prepare_cmds
+               sed -e "s/-Wc,-nostartfiles//g" -i src/Makefile*
+               autoreconf -vfi
        end
 
        make_build_targets += CFLAGS="%{CFLAGS}"