summaryrefslogtreecommitdiffstats
path: root/package/jhead/jhead-use-ldflags.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-03-27 07:03:59 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-03-27 20:31:41 +0100
commit674cbf25f69dc5df70679d6d4b31b78091ccaaa5 (patch)
tree1bb56630b8590287d1de13621c0b972956f853da /package/jhead/jhead-use-ldflags.patch
parent43a54d0846525817e1ee69b833047bd8d7a0642f (diff)
downloadbuildroot-novena-674cbf25f69dc5df70679d6d4b31b78091ccaaa5.tar.gz
buildroot-novena-674cbf25f69dc5df70679d6d4b31b78091ccaaa5.zip
jhead: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/jhead/jhead-use-ldflags.patch')
-rw-r--r--package/jhead/jhead-use-ldflags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/jhead/jhead-use-ldflags.patch b/package/jhead/jhead-use-ldflags.patch
new file mode 100644
index 000000000..a1d8185a2
--- /dev/null
+++ b/package/jhead/jhead-use-ldflags.patch
@@ -0,0 +1,16 @@
+Make jhead use LDFLAGS for the final link.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura jhead-2.97.orig/makefile jhead-2.97/makefile
+--- jhead-2.97.orig/makefile 2013-03-27 09:22:38.759966389 -0300
++++ jhead-2.97/makefile 2013-03-27 09:25:06.290691745 -0300
+@@ -14,7 +14,7 @@
+ ${CC} $(CFLAGS) -c $< -o $@
+
+ jhead: $(objs) jhead.h
+- ${CC} -o jhead $(objs) -lm
++ ${CC} $(LDFLAGS) -o jhead $(objs) -lm
+
+ clean:
+ rm -f $(objs) jhead