kumquat-buildroot/package/jhead/0001-use-ldflags.patch
Peter Korsgaard 298cd8eaa2 package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-02-03 14:52:56 +01:00

17 lines
459 B
Diff

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