]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
hdparm: Make build honour LDFLAGS
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 24 Sep 2016 09:29:47 +0000 (05:29 -0400)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Sep 2016 16:23:10 +0000 (12:23 -0400)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
hdparm/hdparm.nm

index 785946b5646d6fee1a799b089448b04c054e9ca0..0522146f40679db564895fabdee2c2d580b71a31 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = hdparm
 version    = 9.48
-release    = 1
+release    = 2
 
 groups     = Applications/Hardware
 url        = http://sourceforge.net/projects/hdparm/
@@ -22,8 +22,8 @@ source_dl  = http://sourceforge.net/projects/%{name}/files/%{name}/
 
 build
        build
-               CFLAGS="%{CFLAGS}" make %{PARALLELISMFLAGS} \
-                       STRIP=/bin/true LDFLAGS=
+               make %{PARALLELISMFLAGS} \
+                       STRIP=/bin/true CFLAGS="%{CFLAGS}" LDFLAGS="%{LDFLAGS}"
        end
 
        install