Description: Accept Debian's hardening flags Author: Simon Richter Last-Update: 2013-01-14 Index: langford-0.0.20130228/Makefile =================================================================== --- langford-0.0.20130228.orig/Makefile +++ langford-0.0.20130228/Makefile @@ -30,10 +30,10 @@ install: langford.ko langford_util langf echo "Remember to run langford_init in order to initialize the device at /dev/langford" langford_util: langford_util.cpp - g++ $< -ansi -Wall -g -o $@ + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ langford_adc_util: langford_adc_util.cpp langford_spi.cpp - g++ langford_adc_util.cpp langford_spi.cpp -ansi -Wall -g -o $@ + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ libs: make -f libs/Makefile Index: langford-0.0.20130228/libs/Makefile =================================================================== --- langford-0.0.20130228.orig/libs/Makefile +++ langford-0.0.20130228/libs/Makefile @@ -5,10 +5,10 @@ VGASRC = lmh6521_regs.hpp lmh6521.cpp all: langford_rf_fsynth langford_rx_rf_bb_vga langford_rf_fsynth: $(FSYNTHSRC) - g++ -ansi -Wall $(FSYNTHSRC) -o langford_rf_fsynth + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ langford_rx_rf_bb_vga: $(VGASRC) - g++ -ansi -Wall $(VGASRC) -o langford_rx_rf_bb_vga + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ install: langford_rf_fsynth langford_rx_rf_bb_vga sudo cp langford_rx_rf_bb_vga langford_rf_fsynth /usr/bin