Skip to content

Commit

Permalink
here we go again
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Nov 18, 2023
1 parent 439d2ff commit 5031d2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_ubuntu-22.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi
# errors out. This may be removed with upgraded configure.in file.
makecmd="make"
if [[ "$#" -eq 2 ]]; then
makecmd="make CFLAGS='$CFLAGS $2' CXXFLAGS='$CXXFLAGS $2'"
makecmd="make CFLAGS='$CFLAGS -isystem/usr/include $2' CXXFLAGS='$CXXFLAGS -isystem/usr/include $2'"
fi

# non-existent variables as an errors
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
- name: Build
env:
# TODO: -pedantic-errors here won't go through ./configure (with GNU C)
CFLAGS: -std=${{ matrix.c }} -fPIC -Wall -Wextra -isystem/usr/include
CFLAGS: -std=${{ matrix.c }} -fPIC -Wall -Wextra
# TODO: -pedantic-errors here won't compile
CXXFLAGS: -std=${{ matrix.cpp }} -fPIC -Wall -Wextra -isystem/usr/include
CXXFLAGS: -std=${{ matrix.cpp }} -fPIC -Wall -Wextra
# CPPFLAGS: -isystem/usr/include
run: .github/workflows/build_ubuntu-22.04.sh $HOME/install -Wpedantic

0 comments on commit 5031d2f

Please sign in to comment.