[SCM] ffmpeg/jessie: Omit -fstack-protector-strong from used CFLAGs, FFmpeg already sets -fstack-protector-all
rbalint at users.alioth.debian.org
rbalint at users.alioth.debian.org
Fri Dec 23 16:35:57 UTC 2016
The following commit has been merged in the jessie branch:
commit 51a9afd04443fd7ead81c4c48eb649d46c366fd4
Author: Balint Reczey <balint at balintreczey.hu>
Date: Fri Dec 23 14:35:58 2016 +0100
Omit -fstack-protector-strong from used CFLAGs, FFmpeg already sets -fstack-protector-all
diff --git a/debian/rules b/debian/rules
index 1153907..c7b7b8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,9 @@ include /usr/share/dpkg/architecture.mk
# Ubuntu ld adds -Bsymbolic-functions by default, but that prevents FFmpeg from building.
export DEB_LDFLAGS_MAINT_STRIP=-Wl,-Bsymbolic-functions
+# Hardened toolchain already adds -fstack-protector-all and -fstack-protector-strong is not supported by Jessie's gcc-4.8
+export DEB_CFLAGS_MAINT_STRIP=-fstack-protector-strong
+
# Package name for the extra flavor.
EXTRA_PKGS := $(shell sed -nr 's/^Package:[[:space:]]*(.*extra[0-9]+)[[:space:]]*$$/\1/p' debian/control)
FLAVORS = standard extra static
--
ffmpeg packaging
More information about the pkg-multimedia-commits
mailing list