summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-11-19 18:47:34 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-11-19 18:47:34 +0300
commite771d1bd9b01f4b910a18c537624658ab91bdef9 (patch)
treec54515f105c09e9a629db6718b2554d89a7977f5
parent0c6f948c2100559a304372a69b1da71c9f4f49ba (diff)
downloadgcc-9-e771d1bd9b01f4b910a18c537624658ab91bdef9.tar.gz
Fix test for ada_no_systems
-rw-r--r--debian/rules.defs6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/rules.defs b/debian/rules.defs
index bfb0939..f033d55 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -792,7 +792,7 @@ ada_no_cpus := m32r sh3 sh3eb sh4eb
ifneq (,$(filter $(build_type), build-native))
ada_no_cpus += m68k # see https://bugs.debian.org/868365
endif
-ada_no_systems := x86-64-pc-solaris2.11
+ada_no_systems := illumos-amd64
ada_no_cross := no
ada_no_snap := no
ifeq ($(single_package),yes)
@@ -809,8 +809,8 @@ endif
ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(ada_no_cpus)))
with_ada := disabled for cpu $(DEB_TARGET_ARCH_CPU)
endif
-ifneq (,$(findstring $(DEB_TARGET_GNU_SYSTEM),$(ada_no_systems)))
- with_ada := disabled for system $(DEB_TARGET_GNU_SYSTEM)
+ifneq (,$(findstring $(DEB_TARGET_ARCH),$(ada_no_systems)))
+ with_ada := disabled for system $(DEB_TARGET_ARCH)
endif
ifeq ($(ada_no_cross)-$(DEB_CROSS),yes-yes)
with_ada := disabled for cross compiler package