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

index f28c3e0..13ef927 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 CABAL=cabal
-CABFLAGS="--disable-documentation --disable-profiling"
+CABFLAGS="--disable-documentation --disable-profiling --disable-library-profiling"
 
 # It is currently more robust to pass Cabal an absolute path to the project file.
 PROJ="$PWD/hadrian/cabal.project"