diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-02-01 22:04:04 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-02-01 22:04:04 +0100 |
commit | 818b78e9ca20f25a63ab262b8d2852158df64aa5 (patch) | |
tree | d96e49473fed42e2872cecf8969ee2ca438ac9d6 /debian/patches/500-buildflags.patch | |
parent | d2fbbed6c9e7da895915ef57ae57be63a6bfe4a7 (diff) |
FTBFS at i386 & powerpc
Diffstat (limited to 'debian/patches/500-buildflags.patch')
-rw-r--r-- | debian/patches/500-buildflags.patch | 13 |
1 files changed, 12 insertions, 1 deletions
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 |