postgrest: enable executable stripping on install

Add the "--enable-executable-stripping" flag when calling
"install_cabal_package" to reduce the size of the binary.

Closes Homebrew/homebrew#46908.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
JC Wilcox 2015-12-09 09:08:30 -06:00 committed by Dominyk Tiller
parent 15562e57a0
commit 55ed7e20e8

View file

@ -22,7 +22,7 @@ class Postgrest < Formula
setup_ghc_compilers
def install
install_cabal_package
install_cabal_package "--enable-executable-stripping"
end
test do