]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - iproute2/iproute2.nm
iproute2: Honour LDFLAGS
[ipfire-3.x.git] / iproute2 / iproute2.nm
index 27d8dea926389e9f2be420250da3ab31f183c4ef..c432402a424ddec2832a1680b0a7be4bdcb1b2b3 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = iproute2
 version    = 3.14.0
-release    = 2
+release    = 3
 
 groups     = Networking/Tools
 url        = http://www.linuxfoundation.org/en/Net:Iproute2
@@ -34,7 +34,7 @@ build
                sed -e "s/^LIBDIR=/LIBDIR?=/" -i Makefile
        end
 
-       export RPM_OPT_FLAGS = %{CFLAGS}
+       export RPM_OPT_FLAGS = %{CFLAGS} %{LDFLAGS}
        export LIBDIR = %{libdir}
        export IPT_LIB_DIR = %{libdir}/xtables