mirror of
https://github.com/BLAKE2/libb2
synced 2024-11-23 00:32:03 +01:00
Merge pull request #24 from LocutusOfBorg/patch-1
Update configure.ac, do not override CFLAGS from the system
This commit is contained in:
commit
fa83ddbe17
@ -60,7 +60,7 @@ AC_HELP_STRING([--enable-native],
|
|||||||
[enable_native=yes]
|
[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
|
dnl Not all architectures support -march=native
|
||||||
if test $enable_native = "yes"; then
|
if test $enable_native = "yes"; then
|
||||||
AX_CHECK_COMPILE_FLAG([-march=native], [], [enable_native=no])
|
AX_CHECK_COMPILE_FLAG([-march=native], [], [enable_native=no])
|
||||||
|
Loading…
Reference in New Issue
Block a user