summaryrefslogtreecommitdiff
path: root/debian/rules.defs
diff options
context:
space:
mode:
authordoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-10-28 10:51:50 +0000
committerdoko <doko@6ca36cf4-e1d1-0310-8c6f-e303bb2178ca>2012-10-28 10:51:50 +0000
commit67960217ec9f92cbb3248525e1074a7e847a2112 (patch)
tree0facb17ab2f653dcd80ef11a9e260fdb1ca1c844 /debian/rules.defs
parent2381ae6407b127520d7d70bb00ad4bb6ebe85f8e (diff)
downloadgcc-47-67960217ec9f92cbb3248525e1074a7e847a2112.tar.gz
- disable building quadmath packages when fortran isn't built
git-svn-id: svn://svn.debian.org/svn/gcccvs/branches/sid/gcc-4.7@6208 6ca36cf4-e1d1-0310-8c6f-e303bb2178ca
Diffstat (limited to 'debian/rules.defs')
-rw-r--r--debian/rules.defs11
1 files changed, 7 insertions, 4 deletions
diff --git a/debian/rules.defs b/debian/rules.defs
index 7cc7159..02b791e 100644
--- a/debian/rules.defs
+++ b/debian/rules.defs
@@ -747,10 +747,13 @@ endif
# libquadmath -------------------
ifneq (,$(findstring $(DEB_TARGET_ARCH_CPU), ia64 i386 i486 i586 i686 amd64))
- with_qmath := yes
- ifneq (,$(findstring gcc-4,$(PKGSOURCE)))
- ifeq ($(with_common_libs),yes)
- with_libqmath := yes
+ # FIXME: upstream build tied to gfortran build
+ ifeq ($(with_fortran),yes)
+ with_qmath := yes
+ ifneq (,$(findstring gcc-4,$(PKGSOURCE)))
+ ifeq ($(with_common_libs),yes)
+ with_libqmath := yes
+ endif
endif
endif
endif