Configure: make --enable-gprof work

Modified for option "--enable-gprof".

Change-Id: I07f78f28c1b789c0b3e9e7db3561463551ae5460
This commit is contained in:
Yunqing Wang 2013-04-09 12:18:35 -07:00
parent aeefa6e194
commit 335114debe

View File

@ -1049,7 +1049,7 @@ EOF
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
enabled optimizations && disabled gprof && check_add_cflags -fomit-frame-pointer
;;
vs*)
# When building with Microsoft Visual Studio the assembler is