Skip to content

Commit

Permalink
Fix overwriting of CFLAGS in configure.ac (flintlib#2218)
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback authored Jan 29, 2025
1 parent 53fdebc commit 2ee9741
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ dnl FLINT_CHECK_PRAGMA(string,define,[prestring])
dnl ---------------------------------

AC_DEFUN([FLINT_CHECK_PRAGMA],[
save_CFLAGS="$CFLAGS"
tmp_CFLAGS="$CFLAGS"
CFLAGS="-Werror -Wunknown-pragmas"
if test "x$3" != "x";
Expand All @@ -213,7 +213,7 @@ else
[tmp="yes"],[tmp="no"])
fi
CFLAGS="$save_CFLAGS"
CFLAGS="$tmp_CFLAGS"
if test "$tmp" = "yes";
then
Expand Down

0 comments on commit 2ee9741

Please sign in to comment.