From 033aea780cc8315979b6de2692f5f7aeb6a0e99b Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sun, 7 Nov 2021 19:46:18 +0100 Subject: actually check for -isystem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When I added this in 151abb8b2b9d3a22229b98cec12e29484d1210 I made a copy&paste mistake that I corrected in a follow-up commit by removing the incorrect option without introducing -isystem into the check. Not that it matters in practice, apparently. Change-Id: I64d9ce34dcbaf9acdd8c794aed9fd84bae776d4a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124828 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 6144dab8ba48..3cfcb7540e7f 100644 --- a/configure.ac +++ b/configure.ac @@ -3766,7 +3766,7 @@ ISYSTEM= if test "$GCC" = "yes"; then AC_MSG_CHECKING( for -isystem ) save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -Werror" + CFLAGS="$CFLAGS -isystem /usr/include -Werror" AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ ISYSTEM="-isystem " ],[]) CFLAGS=$save_CFLAGS if test -n "$ISYSTEM"; then -- cgit