summaryrefslogtreecommitdiff
path: root/debian/rules.defs
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-03-10 16:59:12 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2015-03-10 16:59:12 +0000
commita4b758082a75a5d9023f5058185a7a1c863377cf (patch)
tree8835066c732af3f44022e088899665d58540bdc2 /debian/rules.defs
parent74fdf1efbd5d1ab3f8cbf6beb3db395b1df9c64e (diff)
downloadgcc-5-a4b758082a75a5d9023f5058185a7a1c863377cf.tar.gz
* Enable libmpx builds on amd64, i386 and x32.
git-svn-id: svn://anonscm.debian.org/gcccvs/branches/sid/gcc-5@7882 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.defs')
-rw-r--r--debian/rules.defs8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules.defs b/debian/rules.defs
index aa6bbc7..8762a69 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -1092,6 +1092,14 @@ ifneq (,$(filter $(DEB_TARGET_ARCH),$(cilkrts_archs)))
with_cilkrts := yes
endif
+# libmpx --------------------
+with_mpx :=
+with_mpx := $(call envfilt, mpx, , , $(with_mpx))
+mpx_archs = amd64 i386 x32
+ifneq (,$(filter $(DEB_TARGET_ARCH),$(mpx_archs)))
+ with_mpx := yes
+endif
+
# gold --------------------
# armel with binutils 2.20.51 only
gold_archs = amd64 armel armhf i386 powerpc powerpcspe ppc64 ppc64el sparc sparc64 x32 hurd-i386