From 1ebefca029d386db9976137f6c277124b4c9051b Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Tue, 26 Sep 2023 00:05:54 +0900 Subject: [PATCH] Reorder $CXXFLAGS to the end (#2322) This allows overriding flags like -std=c++11. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7391ea6..3bbaa61 100644 --- a/configure.ac +++ b/configure.ac @@ -34,7 +34,7 @@ AC_CHECK_HEADERS([attr/xattr.h]) AC_CHECK_HEADERS([sys/extattr.h]) AC_CHECK_FUNCS([fallocate]) -CXXFLAGS="$CXXFLAGS -Wall -fno-exceptions -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=3 -std=c++11" +CXXFLAGS="-Wall -fno-exceptions -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=3 -std=c++11 $CXXFLAGS" dnl ---------------------------------------------- dnl For macOS