From fc892021657fbb7b3a46de28ee01b35a2af9aee9 Mon Sep 17 00:00:00 2001
From: sof <unknown>
Date: Wed, 3 Sep 1997 23:28:47 +0000
Subject: [PATCH] [project @ 1997-09-03 23:28:39 by sof] Added -O to
 SRC_CC_OPTS

---
 ghc/utils/ugen/Makefile  | 5 +++--
 ghc/utils/unlit/Makefile | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ghc/utils/ugen/Makefile b/ghc/utils/ugen/Makefile
index 1951faa21053..f1ed1b13034f 100644
--- a/ghc/utils/ugen/Makefile
+++ b/ghc/utils/ugen/Makefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# $Id: Makefile,v 1.4 1997/03/24 03:02:09 sof Exp $
+# $Id: Makefile,v 1.5 1997/09/03 23:28:47 sof Exp $
 
 TOP=../..
 include $(TOP)/mk/boilerplate.mk
@@ -10,7 +10,8 @@ C_SRCS = syntax.tab.c lex.c id.c tree.c yyerror.c gen.c main.c
 C_PROG = ugen
 LIBS = $(FLEX_LIB)
 
-CLEAN_FILES += syntax.tab.c syntax.tab.h
+CLEAN_FILES += syntax.tab.c syntax.tab.h lex.c
+SRC_CC_OPTS += -O
 
 #
 # Include flex & bison output in the source distribution.
diff --git a/ghc/utils/unlit/Makefile b/ghc/utils/unlit/Makefile
index 91bd721723de..a23895cf8765 100644
--- a/ghc/utils/unlit/Makefile
+++ b/ghc/utils/unlit/Makefile
@@ -4,6 +4,7 @@ override WAYS=
 
 C_SRCS=unlit.c
 C_PROG=unlit
+SRC_CC_OPTS += -O
 
 # Get it over with!
 boot :: all
-- 
GitLab