summaryrefslogtreecommitdiff
path: root/debian/patches/0001-buildflags.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-06-05 10:20:24 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-06-05 10:20:24 +0200
commit6d0ad872b67aa8632f7bb41009ae76816a52421c (patch)
tree4fe935e2c65c34a9b9479c9bbf3990be2d594e53 /debian/patches/0001-buildflags.patch
parentbec5f87053759705fb77bae1aa378f2666c7d153 (diff)
renew patches; make build reproducible
Diffstat (limited to 'debian/patches/0001-buildflags.patch')
-rw-r--r--debian/patches/0001-buildflags.patch15
1 files changed, 1 insertions, 14 deletions
diff --git a/debian/patches/0001-buildflags.patch b/debian/patches/0001-buildflags.patch
index a8030ec..9b293f4 100644
--- a/debian/patches/0001-buildflags.patch
+++ b/debian/patches/0001-buildflags.patch
@@ -7,20 +7,7 @@ Index: trunk/Makefile
===================================================================
--- trunk.orig/Makefile
+++ trunk/Makefile
-@@ -395,10 +395,11 @@ VALA_CFLAGS := `pkg-config --cflags $(EX
- $(foreach def,$(DEFINES),-D$(def))
-
- VALA_LDFLAGS := `pkg-config --libs $(EXT_PKGS) $(DIRECT_LIBS) gthread-2.0`
-+VALA_LDFLAGS += -fPIE -pie -Wl,-z,relro -Wl,-z,now
-
- # REQUIRED_CFLAGS absolutely get appended to CFLAGS, whatever the
- # the value of CFLAGS in the environment
--REQUIRED_CFLAGS := -fPIC
-+REQUIRED_CFLAGS := -g -O2 -fPIE -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2
-
- # setting CFLAGS in configure.mk overrides build type
- ifndef CFLAGS
-@@ -411,8 +412,8 @@ PLUGIN_CFLAGS = -O2 -g -pipe
+@@ -403,8 +403,8 @@ PLUGIN_CFLAGS = -O2 -g -pipe
endif
endif