Skip to content

Commit fa83ddb

Browse files
authored
Merge pull request #24 from LocutusOfBorg/patch-1
Update configure.ac, do not override CFLAGS from the system
2 parents 3b60b26 + 9b9a3a4 commit fa83ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ AC_HELP_STRING([--enable-native],
6060
[enable_native=yes]
6161
)
6262

63-
AX_CHECK_COMPILE_FLAG([-O3], [CFLAGS=-O3])
63+
AX_CHECK_COMPILE_FLAG([-O3], [CFLAGS="$CFLAGS -O3"])
6464
dnl Not all architectures support -march=native
6565
if test $enable_native = "yes"; then
6666
AX_CHECK_COMPILE_FLAG([-march=native], [], [enable_native=no])

0 commit comments

Comments
 (0)