From: rrt Date: Thu, 22 Feb 2001 16:44:29 +0000 (+0000) Subject: [project @ 2001-02-22 16:44:29 by rrt] X-Git-Tag: Approximately_9120_patches~2564 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=c5e33ef8b437e79e9c22991dcab9ea73482f6909;p=ghc-hetmet.git [project @ 2001-02-22 16:44:29 by rrt] Add -mno-cygwin to CC_OPTS on mingwin (we were building all our auxiliary programs Cygwinised before...). --- diff --git a/mk/target.mk b/mk/target.mk index 926560d..b6060ca 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -308,6 +308,10 @@ endif ifneq "$(C_PROG)" "" all :: $(C_PROG) +ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" +CC_OPTS += -mno-cygwin +endif + $(C_PROG) :: $(C_OBJS) $(CC) -o $@ $(CC_OPTS) $(LD_OPTS) $(C_OBJS) $(LIBS) endif