[project @ 2001-02-22 16:44:29 by rrt]
[ghc-hetmet.git] / mk / target.mk
index 926560d..b6060ca 100644 (file)
@@ -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