configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 033aea780cc8315979b6de2692f5f7aeb6a0e99b
Author: Luboš Luňák <[email protected]>
AuthorDate: Sun Nov 7 19:46:18 2021 +0100
Commit: Luboš Luňák <[email protected]>
CommitDate: Mon Nov 8 09:15:11 2021 +0100
actually check for -isystem
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 <[email protected]>
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