clang-{4,5}: set postBuild to empty string to avoid rebuild for now

This commit is contained in:
Will Dietz 2018-01-16 13:38:37 -06:00
parent 33c132e9b3
commit 514f67e3a8
2 changed files with 6 additions and 0 deletions

View File

@ -37,6 +37,9 @@ let
patches = [ ./purity.patch ];
# XXX: TODO: This should be removed on next rebuild
postBuild = "";
postPatch = ''
sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/ToolChains.cpp

View File

@ -37,6 +37,9 @@ let
patches = [ ./purity.patch ];
# XXX: TODO: This should be removed on next rebuild
postBuild = "";
postPatch = ''
sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' \
-e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' \