summaryrefslogtreecommitdiffstats
path: root/build/external/deb/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'build/external/deb/debian/rules')
-rwxr-xr-xbuild/external/deb/debian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/external/deb/debian/rules b/build/external/deb/debian/rules
index 2b1157e5e48..cddf1e9c6e8 100755
--- a/build/external/deb/debian/rules
+++ b/build/external/deb/debian/rules
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
DH_VERBOSE = 1
DEB_BUILD_OPTIONS = noddebs
+DEB_CFLAGS_MAINT_STRIP = -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -O2
+DEB_LDFLAGS_MAINT_STRIP = -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects
+DEB_CFLAGS_MAINT_APPEND = -O3
PKG=vpp-ext-deps
VERSION = $(shell dpkg-parsechangelog | sed -nr '/^Version:/s/Version: //p')