Commit 3677fe42 authored by Ian Lynagh's avatar Ian Lynagh

Fix conflicting_flags output

parent 0c2d8977
......@@ -2,10 +2,6 @@ TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
# If you give -V and --print-libdir together you should get an error.
# The error includes the program name, so we have to sed off the
# version number.
conflicting_flags:
$(TEST_HC) -V --print-libdir 2>&1 | sed "s/^ghc-[0-9]*\(\.[0-9]*\)*:/ghc:/"
$(TEST_HC) -V --print-libdir 2>&1 | sed "s/, version.*//"
ghc: cannot use `-V' with `--print-libdir'
Usage: For basic information, try the `--help' option.
The Glorious Glasgow Haskell Compilation System
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