Skip to content

Commit

Permalink
Add $CPPFLAGS to preprocessor command line.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtv committed Nov 3, 2023
1 parent 7c6407c commit ed1a239
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -18942,7 +18942,7 @@ printf "%s\n" "yes" >&6; }
# we want, and generate the actual libpqxx configuration header from the
# output.
mkdir -p include/pqxx
${CXXCPP} ${CXXFLAGS} "$srcdir/config-tests/cxx-features.cc" | \
${CXXCPP} ${CXXFLAGS} ${CPPFLAGS} "$srcdir/config-tests/cxx-features.cc" | \
"$srcdir/tools/generate_cxx_checks.py" \
--config --output include/pqxx/cxx_features.hxx

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ AC_MSG_RESULT(yes)
# we want, and generate the actual libpqxx configuration header from the
# output.
mkdir -p include/pqxx
${CXXCPP} ${CXXFLAGS} "$srcdir/config-tests/cxx-features.cc" | \
${CXXCPP} ${CXXFLAGS} ${CPPFLAGS} "$srcdir/config-tests/cxx-features.cc" | \
"$srcdir/tools/generate_cxx_checks.py" \
--config --output include/pqxx/cxx_features.hxx

Expand Down

0 comments on commit ed1a239

Please sign in to comment.