summaryrefslogtreecommitdiff
path: root/mk/config.mk.in
diff options
context:
space:
mode:
authorMax Bolingbroke <batterseapower@hotmail.com>2013-02-03 18:05:25 +0000
committerDavid Waern <waern@ubuntu.(none)>2013-03-10 09:49:46 -0700
commita1cef22a4e8f98d71f774118a3b4b2dff9febd85 (patch)
tree5b707c90ebfba739c48e4f4ba78eb50177a43835 /mk/config.mk.in
parent9f2644215e39eb9509da819f6f5d4d7f1984d386 (diff)
downloadhaskell-a1cef22a4e8f98d71f774118a3b4b2dff9febd85.tar.gz
Fix construction of ALL_ALEX_OPTS and ALL_AS_OPTS
Signed-off-by: David Waern <david.waern@gmail.com>
Diffstat (limited to 'mk/config.mk.in')
-rw-r--r--mk/config.mk.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 75648341ef..1fa6c947e3 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -733,14 +733,13 @@ ALEX = @AlexCmd@
ALEX_VERSION = @AlexVersion@
Alex3 = @Alex3@
#
-# Options to pass to Happy when we're going to compile the output with GHC
+# Options to pass to Alex when we're going to compile the output with GHC
#
+SRC_ALEX_OPTS = -g
ifeq "$(Alex3)" "YES"
-# We aren't using the Unicode support in Alex 3.0 yet, in fact we do our own
+# The compiler isn't using the Unicode support in Alex 3.0 yet, in fact we do our own
# Unicode handling, so diable Alex's.
-SRC_ALEX_OPTS = -g --latin1
-else
-SRC_ALEX_OPTS = -g
+compiler_ALEX_OPTS = --latin1
endif
# Should we build haddock docs?