From: Scott LaVarnway Date: Fri, 15 Apr 2011 19:59:21 +0000 (-0400) Subject: added -fomit-frame-pointer flag for gcc builds X-Git-Tag: v0.9.7~217^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9409e3805022bb99be1623535da13dcdc20fa0dd;p=libvpx added -fomit-frame-pointer flag for gcc builds According to the docs, this should have been enabled, but the disassembled output shows otherwise. This improved the encode/decode performance. Change-Id: I45ad7e6d299b89ac3166d7ef7da75b74994344c6 --- diff --git a/build/make/configure.sh b/build/make/configure.sh index 085170d65..3324be36e 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -884,6 +884,8 @@ process_common_toolchain() { link_with_cc=gcc tune_cflags="-march=" setup_gnu_toolchain + #for 32 bit x86 builds, -O3 did not turn on this flag + enabled optimizations && check_add_cflags -fomit-frame-pointer ;; esac