From 2d88b5b252c0463aebf8f5fbe89683931d8adfa0 Mon Sep 17 00:00:00 2001 From: mthomas Date: Tue, 29 Oct 2002 04:01:01 +0000 Subject: [PATCH] [project @ 2002-10-29 04:00:59 by mthomas] Remove unnecessary compiler and linker flags for Mingw32. --- ghc/utils/ghc-pkg/Makefile | 3 +-- ghc/utils/hsc2hs/Makefile | 6 +----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/ghc/utils/ghc-pkg/Makefile b/ghc/utils/ghc-pkg/Makefile index bd04d06..5aa7837 100644 --- a/ghc/utils/ghc-pkg/Makefile +++ b/ghc/utils/ghc-pkg/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.19 2002/10/27 10:38:33 mthomas Exp $ +# $Id: Makefile,v 1.20 2002/10/29 04:00:59 mthomas Exp $ TOP=../.. include $(TOP)/mk/boilerplate.mk @@ -24,7 +24,6 @@ INSTALL_LIBEXECS += $(HS_PROG) ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" HS_PROG = ghc-pkg.exe INSTALL_PROGS += $(HS_PROG) -SRC_HC_OPTS += -fglasgow-exts '-\#include ' -optl "-Wl,-lkernel32" endif # ----------------------------------------------------------------------------- diff --git a/ghc/utils/hsc2hs/Makefile b/ghc/utils/hsc2hs/Makefile index cba41da..21d917f 100644 --- a/ghc/utils/hsc2hs/Makefile +++ b/ghc/utils/hsc2hs/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.35 2002/10/27 10:38:33 mthomas Exp $ +# $Id: Makefile,v 1.36 2002/10/29 04:01:01 mthomas Exp $ TOP=../.. include $(TOP)/mk/boilerplate.mk @@ -25,10 +25,6 @@ endif SRC_HC_OPTS += -cpp -ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" -SRC_HC_OPTS += -fglasgow-exts '-\#include ' -optl "-Wl,-lkernel32" -endif - ifneq "$(HOSTPLATFORM)" "i386-unknown-mingw32" INSTALLED_SCRIPT_PROG = hsc2hs endif -- 1.7.10.4