]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
tunctl: Honour LDFLAGS
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Oct 2016 08:36:25 +0000 (10:36 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 21 Oct 2016 08:36:25 +0000 (10:36 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tunctl/tunctl.nm

index 2e519829fb4426576edde9ca9b2f68bc21f18da4..67d394a6a2963c0563ddb248bef82845ba6e873a 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = tunctl
 version    = 1.5
-release    = 2
+release    = 3
 
 groups     = Networking/Tools
 url        = http://tunctl.sourceforge.net/
@@ -28,14 +28,12 @@ build
        end
 
        prepare_cmds
-               sed -e "s/^CFLAGS.*/CFLAGS = %{CFLAGS}/" -i Makefile
+               sed -e "s/^CFLAGS.*/CFLAGS = %{CFLAGS} %{LDFLAGS}/" -i Makefile
        end
-
 end
 
 packages
        package %{name}
-       end
 
        package %{name}-debuginfo
                template DEBUGINFO