summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorAron Xu <aron@debian.org>2014-10-26 08:50:26 +0800
committerAron Xu <aron@debian.org>2014-10-26 08:50:26 +0800
commit6fc1222c54b905a1fb0b1d9f173a4d049f7d6d06 (patch)
tree3e4d11f6a202e8145317aea51fb66ff32c9ea439 /debian
parent93411b8d813bec8d26366d65ed5b96fe8bb212ef (diff)
downloadlibxml2-6fc1222c54b905a1fb0b1d9f173a4d049f7d6d06.tar.gz
Use -O3 for normal builds
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 55b006d..51dacc5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
CC = $(DEB_HOST_GNU_TYPE)-gcc
-CFLAGS = `dpkg-buildflags --get CFLAGS` -Wall
+CFLAGS = `dpkg-buildflags --get CFLAGS` -Wall -O3
LDFLAGS = `dpkg-buildflags --get LDFLAGS` -Wl,--as-needed
CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`