void-packages/srcpkgs/libdwarf/patches/hostcflags.patch

12 lines
459 B
Diff

--- libdwarf/Makefile.in.orig 2016-05-01 21:26:23.000000000 +0200
+++ libdwarf/Makefile.in 2016-05-08 06:29:07.344055712 +0200
@@ -56,7 +56,7 @@
dwfzlib = @dwfzlib@
CFLAGS = $(PREINCS) @CFLAGS@ $(INCLUDES) $(dwfpic) $(dwfwall) $(POSTINCS)
LDFLAGS = $(PRELIBS) @LDFLAGS@ $(POSTLIBS)
-HOSTCFLAGS = $(INCLUDES)
+HOSTCFLAGS = $(INCLUDES) @CFLAGS@ $(dwfpic)
HOSTLDFLAGS = $(PRELIBS) @LDFLAGS@
# These three files are only appropriate for SGI IRIX.