Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
38ca3fed
Commit
38ca3fed
authored
Jun 26, 2001
by
simonpj
Browse files
[project @ 2001-06-26 11:07:55 by simonpj]
Add #include for SysTools
parent
d1d60a15
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/Makefile
View file @
38ca3fed
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.16
4
2001/06/2
5 21:08:01 sof
Exp $
# $Id: Makefile,v 1.16
5
2001/06/2
6 11:07:55 simonpj
Exp $
TOP
=
..
include
$(TOP)/mk/boilerplate.mk
...
...
@@ -273,6 +273,13 @@ main/DriverUtil_HC_OPTS = -fno-cse
main/
Finder_HC_OPTS
=
-fno-cse
main/
SysTools_HC_OPTS
=
-fno-cse
# The #include is vital for the via-C route, else the C
# compiler doesn't realise that the stcall foreign imports are indeed
# stdcall, and doesn't generate the Foo@8 name for them
ifeq
"$(TARGETPLATFORM)" "i386-unknown-mingw32"
main/
SysTools_HC_OPTS
+=
'-\#include <windows.h>'
endif
# ----------------------------------------------------------------------------
# C compilations
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment