summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules5
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 0863952f7..a69ebff45 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+apt (1.3~rc1ubuntu2) yakkety; urgency=medium
+
+ * Don't build with -O3. See LP: #1473674.
+
+ -- Matthias Klose <doko@ubuntu.com> Fri, 12 Aug 2016 09:44:56 +0200
+
apt (1.3~rc1ubuntu1) yakkety; urgency=medium
* debian/NEWS: Get rid of 1.3~pre3+cmake1 entry.
diff --git a/debian/rules b/debian/rules
index 48518bb70..b36db7cb8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,11 @@
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
+export DEB_CXXFLAGS_MAINT_STRIP := -O3
+export DEB_CFLAGS_MAINT_STRIP := -O3
+export DEB_CXXFLAGS_MAINT_APPEND := -O2
+export DEB_CFLAGS_MAINT_APPEND := -O2
+
# do not fail as we are just experimenting with symbol files for now
export DPKG_GENSYMBOLS_CHECK_LEVEL=0