Commit d4b4b5bd authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Call $(SED) rather than sed

parent 22f78dd4
......@@ -81,7 +81,7 @@ $(GHC_CABAL_DIR)/dist-dummy-ghc/build/dummy-ghc.hs : $(GHC_CABAL_DIR)/ghc.mk $(M
# ["PostfixOperators"] ++
echo 'extensions :: [String]' >> $@
echo 'extensions =' >> $@
sed '/^xFlags/,/]/s/^[[:space:]]*([[:space:]]*\("[^"]*"\)[^"]*/ [\1] ++/p;d' compiler/main/DynFlags.hs >> $@
'$(SED)' '/^xFlags/,/]/s/^[[:space:]]*([[:space:]]*\("[^"]*"\)[^"]*/ [\1] ++/p;d' compiler/main/DynFlags.hs >> $@
echo ' []' >> $@
# We don't build dummy-ghc with Cabal, so we need to pass -package
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment