Changeset 563
- Timestamp:
- Jun 30, 2021, 10:22:04 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/aclocal.m4
r550 r563 1244 1244 AC_MSG_CHECKING([whether ${CC} accepts $1]) 1245 1245 saved_cflags="$CFLAGS" 1246 CFLAGS="$CFLAGS -Werror $1" 1246 # any -Wno- option will always succeed :-( 1247 flag_check_opt=`echo $1 | sed 's,-Wno-,-W,'` 1248 CFLAGS="$CFLAGS -Werror $flag_check_opt" 1247 1249 AC_TRY_COMPILE(,, flag_check_cv=yes, flag_check_cv=no) 1248 1250 CFLAGS="$saved_cflags" 1249 1250 1251 if test $flag_check_cv = yes; then 1251 1252 CFLAGS="$CFLAGS $1"
Note:
See TracChangeset
for help on using the changeset viewer.