summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorPino Toscano <pino@debian.org>2011-08-10 21:54:13 +0200
committerPino Toscano <pino@debian.org>2011-08-10 21:54:13 +0200
commita7e533fe01f7d10445c049089251302e19d69d5d (patch)
treec03bd93874beee80d47dbc56877049bcd4c5505f /debian/rules
parent81e7d8fc8c500e87669ec2f0aab8c552e94aac87 (diff)
downloadqtwebkit-a7e533fe01f7d10445c049089251302e19d69d5d.tar.gz
add -gstabs to the C(XX)FLAGS also for s390x (#637004)
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index c12a524..f46b88a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
# Filter -g from environment on troublesome arches. Replace it with -gstabs
# See also: stabs_format_debug_info.diff
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
-ifneq (,$(filter $(DEB_HOST_ARCH),s390 armel mips mipsel))
+ifneq (,$(filter $(DEB_HOST_ARCH),s390 s390x armel mips mipsel))
export CFLAGS := $(filter-out -g,$(CFLAGS)) -gstabs
export CXXFLAGS := $(filter-out -g,$(CXXFLAGS)) -gstabs
endif