summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 6babe1941..92ecac338 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,10 +54,18 @@ ifeq (,$(findstring optimize,$(DEB_BUILD_OPTIONS)))
DEB_HOST_GNU_OPTION := --host=$(DEB_HOST_GNU_TYPE)
endif
+ifeq (,$(findstring hppa-,$(DEB_HOST_GNU_TYPE)))
+ OVERRIDE_CC=gcc
+else
+ #on HPPA
+ OVERRIDE_CC=gcc-3.2
+endif
+
configure: configure-stamp
configure-stamp:
dh_testdir
+ env CC=$(OVERRIDE_CC) \
./configure --prefix=/usr --mandir=\$${prefix}/share/man \
$(DEB_HOST_GNU_OPTION)
touch configure-stamp