1
0
mirror of https://github.com/BLAKE2/libb2 synced 2024-11-22 16:12:01 +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:
Samuel Neves 2019-07-23 00:55:09 +01:00 committed by GitHub
commit fa83ddbe17
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -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])