Commit d9ae1a00 authored by Sjoerd Simons's avatar Sjoerd Simons
Browse files

Define pie architectures based on the derivative status

parent 090bf3af
gcc-10 (10.2.1-6apertis1) apertis; urgency=medium
* Base PIE default settings on the derivative not distribution; This ensures
PIE is enabled by default in apertis and its derivatives
-- Sjoerd Simons <sjoerd@collabora.com> Tue, 13 Apr 2021 12:57:07 +0200
gcc-10 (10.2.1-6apertis0) apertis; urgency=medium
 
* Import from Debian bullseye.
......
......@@ -1407,7 +1407,7 @@ with_libvtv :=
# pie by default --------------------
with_pie :=
ifeq ($(distribution),Debian)
ifeq ($(derivative),Debian)
ifeq (,$(filter $(distrelease),wheezy squeeze jessie))
pie_archs = amd64 arm64 armel armhf i386 \
mips mipsel mips64 mips64el mipsn32 mipsn32el \
......@@ -1418,7 +1418,7 @@ ifeq ($(distribution),Debian)
ifeq (,$(filter $(distrelease),wheezy squeeze jessie stretch))
pie_archs += powerpc ppc64
endif
else ifeq ($(distribution),Ubuntu)
else ifeq ($(derivative),Ubuntu)
ifeq (,$(filter $(distrelease),lucid precise trusty utopic vivid wily))
pie_archs = s390x
endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment