From 818b78e9ca20f25a63ab262b8d2852158df64aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 1 Feb 2015 22:04:04 +0100 Subject: FTBFS at i386 & powerpc --- debian/patches/500-buildflags.patch | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'debian/patches') diff --git a/debian/patches/500-buildflags.patch b/debian/patches/500-buildflags.patch index fa493ab..46cf411 100644 --- a/debian/patches/500-buildflags.patch +++ b/debian/patches/500-buildflags.patch @@ -16,7 +16,18 @@ Index: trunk/Makefile # REQUIRED_CFLAGS absolutely get appended to CFLAGS, whatever the # the value of CFLAGS in the environment -REQUIRED_CFLAGS := -fPIC -+REQUIRED_CFLAGS := -fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 ++REQUIRED_CFLAGS := -g -O2 -fPIE -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 # setting CFLAGS in configure.mk overrides build type ifndef CFLAGS +@@ -410,8 +411,8 @@ PLUGIN_CFLAGS = -O2 -g -pipe + endif + endif + +-CFLAGS += $(PROFILE_FLAGS) $(REQUIRED_CFLAGS) +-PLUGIN_CFLAGS += $(PROFILE_FLAGS) $(REQUIRED_CFLAGS) ++CFLAGS += $(PROFILE_FLAGS) $(REQUIRED_CFLAGS) -fstack-protector-strong ++PLUGIN_CFLAGS += $(PROFILE_FLAGS) $(REQUIRED_CFLAGS) -fPIC -fno-stack-protector + + # Required for gudev-1.0 + CFLAGS += -DG_UDEV_API_IS_SUBJECT_TO_CHANGE -- cgit v1.2.3