From: Michael Orlitzky Date: Tue, 19 May 2020 21:53:32 +0000 (-0400) Subject: compilation: export the non-standard HCFLAGS variable. X-Git-Url: http://gitweb.michael.orlitzky.com/?p=bash.d.git;a=commitdiff_plain;h=b6f38a99cb23296286af8a17bc180f27e3aa7141 compilation: export the non-standard HCFLAGS variable. Having HCFLAGS exported won't help with most software, but I've started using it in my own Haskell projects to avoid hard-coding compiler flags in the cabal file. --- diff --git a/compilation b/compilation index 69d6d99..7b76b34 100644 --- a/compilation +++ b/compilation @@ -35,3 +35,8 @@ export CFLAGS export CXXFLAGS export FCFLAGS export LDFLAGS + +# This variable isn't standard, but I've started including it in my +# Haskell makefiles so that we don't have to hard-code user preferences +# (these flags) in the cabal files that *everyone* uses. +export HCFLAGS