mirror of
https://github.com/BLAKE2/libb2
synced 2024-11-26 08:53:49 +01:00
Update configure.ac, do not override CFLAGS from the system
By default, AX_CHECK_COMPILE_FLAG overrides the *FLAG, so lets stop doing that.
This commit is contained in:
parent
2c5142f12a
commit
9b9a3a452e
@ -60,7 +60,7 @@ AC_HELP_STRING([--enable-native],
|
||||
[enable_native=yes]
|
||||
)
|
||||
|
||||
AX_CHECK_COMPILE_FLAG([-O3], [CFLAGS=-O3])
|
||||
AX_CHECK_COMPILE_FLAG([-O3], [CFLAGS="$CFLAGS -O3"])
|
||||
dnl Not all architectures support -march=native
|
||||
if test $enable_native == "yes"; then
|
||||
AX_CHECK_COMPILE_FLAG([-march=native], [], [enable_native=no])
|
||||
|
Loading…
Reference in New Issue
Block a user