Skip to content

Commit

Permalink
here we go again 2
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Nov 18, 2023
1 parent 5031d2f commit 065aa4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 -isystem/usr/include $2' CXXFLAGS='$CXXFLAGS -isystem/usr/include $2'"
makecmd="make CFLAGS='$CFLAGS -isystem/usr/include/gdal $2 $3' CXXFLAGS='$CXXFLAGS -isystem/usr/include/gdal $2 $3'"
fi

# non-existent variables as an errors
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ jobs:
# TODO: -pedantic-errors here won't compile
CXXFLAGS: -std=${{ matrix.cpp }} -fPIC -Wall -Wextra
# CPPFLAGS: -isystem/usr/include
run: .github/workflows/build_ubuntu-22.04.sh $HOME/install -Wpedantic
run: .github/workflows/build_ubuntu-22.04.sh $HOME/install -Wpedantic -Werror

0 comments on commit 065aa4a

Please sign in to comment.