| 1 |
Description: Accept Debian's hardening flags |
| 2 |
Author: Simon Richter <[email protected]> |
| 3 |
Last-Update: 2013-01-14 |
| 4 |
|
| 5 |
Index: langford-0.0.20130228/Makefile |
| 6 |
=================================================================== |
| 7 |
--- langford-0.0.20130228.orig/Makefile |
| 8 |
+++ langford-0.0.20130228/Makefile |
| 9 |
@@ -30,10 +30,10 @@ install: langford.ko langford_util langf |
| 10 |
echo "Remember to run langford_init in order to initialize the device at /dev/langford" |
| 11 |
|
| 12 |
langford_util: langford_util.cpp |
| 13 |
|
| 14 |
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ |
| 15 |
|
| 16 |
langford_adc_util: langford_adc_util.cpp langford_spi.cpp |
| 17 |
|
| 18 |
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ |
| 19 |
|
| 20 |
libs: |
| 21 |
make -f libs/Makefile |
| 22 |
Index: langford-0.0.20130228/libs/Makefile |
| 23 |
=================================================================== |
| 24 |
--- langford-0.0.20130228.orig/libs/Makefile |
| 25 |
+++ langford-0.0.20130228/libs/Makefile |
| 26 |
@@ -5,10 +5,10 @@ VGASRC = lmh6521_regs.hpp lmh6521.cpp |
| 27 |
all: langford_rf_fsynth langford_rx_rf_bb_vga |
| 28 |
|
| 29 |
langford_rf_fsynth: $(FSYNTHSRC) |
| 30 |
|
| 31 |
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ |
| 32 |
|
| 33 |
langford_rx_rf_bb_vga: $(VGASRC) |
| 34 |
|
| 35 |
+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $^ |
| 36 |
|
| 37 |
install: langford_rf_fsynth langford_rx_rf_bb_vga |
| 38 |
sudo cp langford_rx_rf_bb_vga langford_rf_fsynth /usr/bin |