Fix upstream makefile to enable hardening flags as well use debhelper 9 to support...
[tabix.git] / debian / patches / use-dpkg-buildflags.patch
1 --- tabix.orig/Makefile
2 +++ tabix/Makefile
3 @@ -12,7 +12,7 @@
4  .SUFFIXES:.c .o
5  
6  .c.o:
7 -               $(CC) -c $(CFLAGS) $(DFLAGS) $(INCLUDES) $< -o $@
8 +               $(CC) -c $(CPPFLAGS) $(CFLAGS) $(CXXFLAGS) $(DFLAGS) $(LDFLAGS) $(INCLUDES) $< -o $@
9  
10  all-recur lib-recur clean-recur cleanlocal-recur install-recur:
11                 @target=`echo $@ | sed s/-recur//`; \