configure: build with -O2 and -pipe if supported.
This commit is contained in:
parent
3482e68491
commit
84f04fb6c4
2
configure
vendored
2
configure
vendored
@ -264,6 +264,8 @@ if [ $? -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
check_compiler_flag "std=c99" "" CFLAGS
|
check_compiler_flag "std=c99" "" CFLAGS
|
||||||
check_compiler_flag "l,--as-needed" W LDFLAGS
|
check_compiler_flag "l,--as-needed" W LDFLAGS
|
||||||
|
check_compiler_flag "O2" "" CFLAGS
|
||||||
|
check_compiler_flag "pipe" "" CFLAGS
|
||||||
|
|
||||||
#
|
#
|
||||||
# Check if -fPIE and -pie are supported if --build-pie is set.
|
# Check if -fPIE and -pie are supported if --build-pie is set.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user