From 3b24281ca45d2c8d2bf9e2e577b62fbf5580a626 Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Wed, 14 Jan 1998 11:22:24 +0000
Subject: [PATCH] [project @ 1998-01-14 11:22:21 by sof] Suppressing the
 generation of a default rule (-s) is a local property of a flex spec, not
 global

---
 ghc/utils/ugen/Makefile | 3 ++-
 mk/opts.mk              | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/ghc/utils/ugen/Makefile b/ghc/utils/ugen/Makefile
index fcc834f757e6..c74bb504ce7e 100644
--- a/ghc/utils/ugen/Makefile
+++ b/ghc/utils/ugen/Makefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.6 1997/09/05 09:16:35 simonm Exp $
+# $Id: Makefile,v 1.7 1998/01/14 11:22:24 sof Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
@@ -11,6 +11,7 @@ LIBS = $(FLEX_LIB)
 
 CLEAN_FILES += syntax.tab.c syntax.tab.h lex.c
 SRC_CC_OPTS += -O
+SRC_FLEX_OPTS += -s
 
 #
 # Include flex & bison output in the source distribution.
diff --git a/mk/opts.mk b/mk/opts.mk
index 837fe4829e31..525424f78790 100644
--- a/mk/opts.mk
+++ b/mk/opts.mk
@@ -5,7 +5,7 @@
 #	This file defines Make variables for the
 #	option flags for each utility program
 #
-# 	$Id: opts.mk,v 1.3 1997/08/22 16:13:01 reid Exp $
+# 	$Id: opts.mk,v 1.4 1998/01/14 11:22:21 sof Exp $
 #
 #################################################################################
 
@@ -46,7 +46,7 @@
 #################################################################################
 
 # These flags make flex 8-bit
-SRC_FLEX_OPTS	+= -s -8
+SRC_FLEX_OPTS	+= -8
 
 #
 # Make sure we install things with group 'grasp' at Glasgow
-- 
GitLab