From 3e4433a6c5c0e9933d7214663b26144723f7d30a Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 16 Jun 2020 20:06:59 +0200 Subject: [PATCH] Revert "Don't overwrite CFLAGS when adding -std=c11." This reverts commit 6d0820fda557de28c014b8ad4c40c385d23029a7. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e397998a..7dd0736a 100644 --- a/configure.ac +++ b/configure.ac @@ -54,7 +54,7 @@ if test -d /sw/lib ; then LIBS="$LIBS -L/sw/lib" fi -AX_CHECK_COMPILE_FLAG([-std=c11], [CFLAGS="$CFLAGS -std=c11"]) +AX_CHECK_COMPILE_FLAG([-std=c11], [CFLAGS="-std=c11"]) dnl Compiler hardening flags dnl No -fstack-protector-all because it doesn't work on all platforms or architectures. -- 2.39.5