]> git.ipfire.org Git - people/ms/ipfire-3.x.git/commitdiff
util-linux: Build nologin with LDFLAGS
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Oct 2016 09:20:19 +0000 (11:20 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Oct 2016 09:21:03 +0000 (11:21 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
util-linux/util-linux.nm

index 344e19cbdd8d507a201339e6f2367c5c64b4e49e..c89e3bfe01e1b54c4c4f4ab386022927dabac709 100644 (file)
@@ -8,7 +8,7 @@ major_ver  = 2.28
 minor_ver  = 2
 #version    = %{major_ver}
 version    = %{major_ver}.%{minor_ver}
-release    = 1
+release    = 2
 
 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
 groups     = System/Base
@@ -70,7 +70,7 @@ build
 
        # Build nolodin
        build_cmds
-               gcc %{CFLAGS} -o nologin %{DIR_SOURCE}/nologin.c
+               gcc %{CFLAGS} %{LDFLAGS} -o nologin %{DIR_SOURCE}/nologin.c
        end
 
        install_cmds