]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
tree: Honour LDFLAGS
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Oct 2016 13:06:52 +0000 (09:06 -0400)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 15 Oct 2016 13:06:52 +0000 (09:06 -0400)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tree/tree.nm

index 5f5583e2a54d3a020f39f4361ae80c05c6b1990a..7a7352e38fafd49179fb6a5852257825247be8e0 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = tree
 version    = 1.7.0
-release    = 1
+release    = 2
 
 groups     = Applications/File
 url        = http://mama.indstate.edu/users/ice/tree/
@@ -22,9 +22,9 @@ source_dl  = ftp://mama.indstate.edu/linux/tree/
 sources    = %{thisapp}.tgz
 
 build
-       build
-               make CFLAGS="%{CFLAGS} $(getconf LFS_CFLAGS)" %{PARALLELISMFLAGS}
-       end
+       make_build_targets += \
+               CFLAGS="%{CFLAGS} $(getconf LFS_CFLAGS)" \
+               LDFLAGS="%{LDFLAGS}"
 
        install
                make install BINDIR=%{BUILDROOT}%{bindir} \