summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-03-26 15:43:43 +0100
committerOndřej Surý <ondrej@sury.org>2013-03-26 21:19:07 +0100
commit6727e174a9a7ae2b31abe4f521b87a86dfa77754 (patch)
tree4c991c55ce4dd34c851796a4e4e2462536da9327 /debian/rules
parentce31c74d62694cf82847195fd0d16df387a3d1af (diff)
downloadphp-6727e174a9a7ae2b31abe4f521b87a86dfa77754.tar.gz
Disable -gstabs usage, which was breaking clang builds and is not needed.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules7
1 files changed, 2 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules
index b8b7d4d80..196ad42ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -71,11 +71,8 @@ ifeq (alpha-linux-gnu,$(DEB_HOST_GNU_TYPE))
CFLAGS += -mieee
endif
-ifeq ($(DEB_HOST_GNU_TYPE),$(filter $(DEB_HOST_GNU_TYPE),ia64-linux-gnu powerpc64-linux-gnu avr32-linux-gnu))
- CFLAGS += -g
-else
- CFLAGS += -gstabs
-endif
+# Enable producing of debugging information
+CFLAGS += -g
# some other helpful (for readability at least) shorthand variables
PHPIZE_BUILDDIR = debian/php5-dev/usr/lib/php5/build