summaryrefslogtreecommitdiff
path: root/debian/control.m4
diff options
context:
space:
mode:
Diffstat (limited to 'debian/control.m4')
-rw-r--r--debian/control.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/debian/control.m4 b/debian/control.m4
index f0a96a0..1968d7e 100644
--- a/debian/control.m4
+++ b/debian/control.m4
@@ -126,11 +126,10 @@ define(`BASEDEP', `gnat`'PV-base (= ${gnat:Version})')
define(`SOFTBASEDEP', `gnat`'PV-base (>= ${gnat:SoftVersion})')
')
-ifdef(`TARGET', `', `
ifenabled(`gccbase',`
Package: gcc`'PV-base
-Architecture: any
+Architecture: ifdef(`TARGET',`CROSS_ARCH',`any')
ifdef(`MULTIARCH', `Multi-Arch: same
')`'dnl
Section: libs
@@ -147,8 +146,7 @@ ifdef(`BASE_ONLY', `dnl
This version of GCC is not yet available for this architecture.
Please use the compilers from the gcc-snapshot package for testing.
')`'dnl
-')`'dnl
-')`'dnl native
+')`'dnl gccbase
ifenabled(`gccxbase',`
dnl override default base package dependencies to cross version