Commit 67fdd163 authored by Jeremy Bicha's avatar Jeremy Bicha

Revert "Set default optimization to -O2 instead of -O1"

This reverts commit 0ff4beda.

See the comments on the commit
parent 0ff4beda
......@@ -12,12 +12,8 @@ DEB_LDFLAGS_MAINT_APPEND += -Wl,-z,defs
# http://mid.gmane.org/1257999019.21780.15.camel@marzipan
DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed
# Ubuntu's ppc64el defaults to -O3 but that doesn't build now
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
export DEB_CFLAGS_MAINT_APPEND += -O0
else
export DEB_CFLAGS_MAINT_APPEND += -O2
endif
# Make the linker work a bit harder so dynamic loading can be done faster
DEB_LDFLAGS_MAINT_APPEND += -Wl,-O1
include /usr/share/dpkg/default.mk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment