cvc4: fix the build by skipping line markers in cpp expansions during configure, helps the configure script to find Boost version
This commit is contained in:
parent
254e2cc982
commit
016d523d82
@ -10,7 +10,12 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ gmp libantlr3c boost autoreconfHook ];
|
||||
preConfigure = "patchShebangs ./src/";
|
||||
preConfigure = ''
|
||||
patchShebangs ./src/
|
||||
OLD_CPPFLAGS="$CPPFLAGS"
|
||||
export CPPFLAGS="$CPPFLAGS -P"
|
||||
'';
|
||||
postConfigure = ''CPPFLAGS="$OLD_CPPFLAGS"'';
|
||||
doChecks = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user