|
@@ -1,13 +1,16 @@
|
|
|
-Description: Add LDFLAGS to linking phase to enable hardening.
|
|
|
- The Makefile is so simple that it doesn't even contemplate the use of LDFLAGS.
|
|
|
-Author: David Martínez Moreno <ender@debian.org>
|
|
|
+Description: Use all buildflags as provided by dpkg
|
|
|
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
|
|
|
Forwarded: no
|
|
|
-Last-Update: 2015-07-29
|
|
|
+Last-Update: 2016-12-06
|
|
|
|
|
|
--- a/makefile
|
|
|
+++ b/makefile
|
|
|
-@@ -13,19 +13,19 @@
|
|
|
- CC = gcc
|
|
|
+@@ -9,23 +9,21 @@
|
|
|
+ mandir = ${sharedir}/man
|
|
|
+
|
|
|
+ O=aoe.o bpf.o ${PLATFORM}.o ata.o
|
|
|
+-CFLAGS += -Wall -g -O2
|
|
|
+-CC = gcc
|
|
|
|
|
|
vblade: $O
|
|
|
- ${CC} -o vblade $O
|