actually, skip stack setup

stack build will do setup if necessary, and setup does not accept all
the options that build does
This commit is contained in:
Joey Hess 2018-11-21 11:15:16 -04:00
parent 60ba0371b6
commit 654981f3f0
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -22,8 +22,6 @@ tmp/configure-stamp: Build/TestConfig.hs Build/Configure.hs
if [ "$(BUILDER)" = ./Setup ]; then ghc --make Setup; fi if [ "$(BUILDER)" = ./Setup ]; then ghc --make Setup; fi
if [ "$(BUILDER)" != stack ]; then \ if [ "$(BUILDER)" != stack ]; then \
$(BUILDER) configure --ghc-options="$(shell Build/collect-ghc-options.sh)"; \ $(BUILDER) configure --ghc-options="$(shell Build/collect-ghc-options.sh)"; \
else \
$(BUILDER) setup $(BUILDEROPTIONS); \
fi fi
mkdir -p tmp mkdir -p tmp
touch tmp/configure-stamp touch tmp/configure-stamp