Description: fix CPPFLAGS to provide GCC hardening. Author: Joao Eriberto Mota Filho Last-Update: 2020-01-09 --- metacam-1.2.orig/Makefile +++ metacam-1.2/Makefile @@ -76,7 +76,7 @@ dependencies: Makefile $(DEPS) # Each .dep file will hold dependencies for both the .o file, and an identical # list to determine when the .dep file needs rebuilding. Clever eh? %.dep: %.cc $(HDRS) - $(CXX) $(CFLAGS) $(INCS) -M -E -c $*.cc > $*.dep- + $(CXX) $(CFLAGS) $(CPPFLAGS) $(INCS) -M -E -c $*.cc > $*.dep- sed -e 's/[.]o:/.dep:/' $*.dep- > $*.dep-- cat $*.dep-- >> $*.dep- rm -f $*.dep--