projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac43a2
)
[project @ 2001-02-22 16:44:29 by rrt]
author
rrt
<unknown>
Thu, 22 Feb 2001 16:44:29 +0000
(16:44 +0000)
committer
rrt
<unknown>
Thu, 22 Feb 2001 16:44:29 +0000
(16:44 +0000)
Add -mno-cygwin to CC_OPTS on mingwin (we were building all our auxiliary
programs Cygwinised before...).
mk/target.mk
patch
|
blob
|
history
diff --git
a/mk/target.mk
b/mk/target.mk
index
926560d
..
b6060ca
100644
(file)
--- 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