X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fghc-cabal%2Fghc.mk;fp=utils%2Fghc-cabal%2Fghc.mk;h=cfe61b3b54a6270cf1b73e6d4ea0cfd770f0661c;hb=99768c7cf2f4258e8aca378fae552de759b4e7c8;hp=448dd463e65a2910855f673903ee1c9fbf8910e9;hpb=b284d3709e846c2dcdceb48901fe42ec75efb090;p=ghc-hetmet.git diff --git a/utils/ghc-cabal/ghc.mk b/utils/ghc-cabal/ghc.mk index 448dd46..cfe61b3 100644 --- a/utils/ghc-cabal/ghc.mk +++ b/utils/ghc-cabal/ghc.mk @@ -79,12 +79,12 @@ $(GHC_CABAL_DIR)/dist-dummy-ghc/build/dummy-ghc.hs : $(GHC_CABAL_DIR)/ghc.mk $(M # line of compiler/main/DynFlags.hs, and if they look like # ( "PostfixOperators", ... # then it translates them into -# ["PostfixOperators"] ++ +# ["PostfixOperators", "NoPostfixOperators"] ++ # Tabs are a pain to handle portably with sed, so rather than worrying # about them we just use tr to remove them all before we start. echo 'extensions :: [String]' >> $@ echo 'extensions =' >> $@ - '$(TR)' -d '\t' < compiler/main/DynFlags.hs | '$(SED)' '/^xFlags/,/]/s/^ *( *\("[^"]*"\)[^"]*/ [\1] ++/p;d' >> $@ + '$(TR)' -d '\t' < compiler/main/DynFlags.hs | '$(SED)' '/^xFlags/,/]/s/^ *( *"\([^"]*\)"[^"]*/ ["\1", "No\1"] ++/p;d' >> $@ echo ' []' >> $@ # We don't build dummy-ghc with Cabal, so we need to pass -package