Commit 4e24cb2b authored by Tomasz Buchert's avatar Tomasz Buchert

Pass hardening flags to upstream build

parent b5b65aa2
......@@ -4,7 +4,7 @@ no easy way to fix it for multi-arch, no way to pass compiler
flags, etc.)
--- a/Makefile
+++ b/Makefile
@@ -3,20 +3,13 @@
@@ -3,20 +3,14 @@
ARCH := i386
endif
......@@ -18,6 +18,7 @@ flags, etc.)
-else
-LIBDIR = /usr/lib
-endif
+CFLAGS += $(shell dpkg-buildflags --get CFLAGS)
+LIBDIR = /usr/lib/$(DEB_HOST_MULTIARCH)
LIBX86 = libx86emu
......@@ -28,7 +29,7 @@ flags, etc.)
CFILES = $(wildcard *.c)
OBJS = $(CFILES:.c=.o)
@@ -31,8 +24,7 @@
@@ -31,8 +25,7 @@
all: changelog shared
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment