Skip to content

Commit

Permalink
Fix configure.ac (unused command line argument)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeclerck committed Jan 29, 2025
1 parent 3fb6825 commit e5568c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
- name: configure
run: |
cd _build
export CFLAGS="-Wno-unused-command-line-argument $CFLAGS"
../configure --enable-cobc-internal-checks \
--enable-hardening \
--with-curses=ncurses \
Expand Down
4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2254,6 +2254,10 @@ else
CFLAGS="$curr_cflags"
fi
if test "$COB_USES_GCC_NO_ICC" = yes; then
CFLAGS="$CFLAGS -Wno-unused-command-line-argument"
fi
AS_IF([test "$enable_hardening" = yes], [
AC_MSG_NOTICE([Compile with hardening options])
# needs optimization
Expand Down

0 comments on commit e5568c4

Please sign in to comment.