summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorFathi Boudra <fabo@kde.org>2010-01-06 17:30:59 +0100
committerFathi Boudra <fabo@kde.org>2010-01-06 17:30:59 +0100
commit5aa9b9e681b8a61fe590a39f3cf19cb52db62b63 (patch)
tree48ecd7d87957c2ed27a63e7737605d75be6fa860 /debian/rules
parent516aa270e91779fead48edb091e0774466aa4194 (diff)
downloadqt4-x11-5aa9b9e681b8a61fe590a39f3cf19cb52db62b63.tar.gz
Use linux-g++-64 as platform_arg on required architectures (amd64, ia64 and
kfreebsd-amd64). sparc 64 is still missing.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 2e7adf0..5d3864d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,8 +30,14 @@ ifeq ($(DEB_HOST_ARCH),arm)
extra_configure_opts += -DQT_QLOCALE_USES_FCVT
endif
+# TODO: add sparc 64
+64bits_architectures := amd64 ia64 kfreebsd-amd64
ifeq ($(DEB_HOST_ARCH_OS),linux)
+ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(64bits_architectures)))
+ platform_arg = linux-g++-64
+else
platform_arg = linux-g++
+endif
else
platform_arg = glibc-g++
endif