summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2017-09-25 11:07:13 +0300
committerIgor Pashev <pashev.igor@gmail.com>2017-09-25 11:07:13 +0300
commit1e95b6774bede1a92e71f77998b2b05ea66d60ca (patch)
treecc75489e606b3aebd61323195fd949d9ff8826aa
parent2e85b6a1580b8b0c135f1b6741fbe09f8968b2f1 (diff)
downloadffmpeg-1e95b6774bede1a92e71f77998b2b05ea66d60ca.tar.gz
Disable hardenning on Dyson
We don't support PIE yet
-rwxr-xr-xdebian/rules5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 31af258..8a1191f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,7 +43,6 @@ FLAVORS = standard extra static
# * --enable-opencl [!hurd-any]: This is considered an experimental API.
CONFIG := --prefix=/usr \
--extra-version="$(DEB_REVISION)" \
- --toolchain=hardened \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--incdir=/usr/include/$(DEB_HOST_MULTIARCH) \
--enable-gpl \
@@ -178,6 +177,10 @@ ifneq (,$(filter $(DEB_HOST_ARCH),mips mipsel))
CONFIG += --disable-mipsfpu
endif
+ifeq (,$(filter $(DEB_HOST_ARCH),illumos-amd64))
+ CONFIG += --toolchain=hardened
+endif
+
# Set cross-build prefix for compiler, pkg-config...
# Cross-building also requires to manually set architecture/OS.
ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))