Avoid compiling Hadrian dependencies with profiling on Cabal/Windows
authorNeil Mitchell <ndmitchell@gmail.com>
Wed, 16 Jan 2019 16:20:27 +0000 (11:20 -0500)
committerBen Gamari <ben@smart-cactus.org>
Wed, 30 Jan 2019 15:06:31 +0000 (10:06 -0500)
hadrian/build.cabal.bat

index 3344791..aa0acab 100644 (file)
@@ -1,6 +1,6 @@
 @echo off
 set CABAL=cabal
-set CABFLAGS=--disable-documentation --disable-profiling
+set CABFLAGS=--disable-documentation --disable-profiling --disable-library-profiling
 
 rem It is currently more robust to pass Cabal an absolute path to the project file.
 set PROJ="%CD%/hadrian/cabal.project"