Skip to content

Commit

Permalink
build with graphite and LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
velnias75 committed Apr 11, 2015
1 parent 1dd8df4 commit f631880
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions netmaumau/rules
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@ DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DPKG_EXPORT_BUILDFLAGS = 1

DEB_BUILD_MAINT_OPTIONS = hardening=+all

GRAPHITE = -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize
LTO = -flto -fuse-linker-plugin

DEB_CPPFLAGS_MAINT_APPEND := -DNDEBUG
DEB_CFLAGS_MAINT_APPEND := -fomit-frame-pointer
DEB_CXXFLAGS_MAINT_APPEND := -fomit-frame-pointer
DEB_CFLAGS_MAINT_APPEND := -fomit-frame-pointer $(GRAPHITE) $(LTO)
DEB_CXXFLAGS_MAINT_APPEND := -fomit-frame-pointer $(GRAPHITE) $(LTO)
DEB_LDFLAGS_MAINT_APPEND := $(CXXFLAGS) $(GRAPHITE) $(LTO)

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
Expand Down

0 comments on commit f631880

Please sign in to comment.