Skip to content

Commit 62dae33

Browse files
author
Matthias Koeppe
committed
build/pkgs/polymake/spkg-install.in: Add -I directives to CXXFLAGS
1 parent d8cf537 commit 62dae33

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/pkgs/polymake/spkg-install.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ if [ -x $SAGE_LOCAL/bin/lrs1 ]; then
2121
more_configure_options="$more_configure_options --with-lrs=$SAGE_LOCAL"
2222
fi
2323

24+
# Put these includes on the front, to avoid shadowing by installed headers
25+
# from a previous version. (polymake 4.8 puts these includes to the end.)
26+
export CXXFLAGS="-I$(pwd)/include/core-wrappers -I$(pwd)/include/core $CXXFLAGS"
27+
2428
./configure --without-java \
2529
--without-javaview \
2630
--without-soplex \

0 commit comments

Comments
 (0)