Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jberryman
GHC
Commits
8ed0bdab
Commit
8ed0bdab
authored
May 16, 2013
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't link base/rts/... into C wrapper programs
parent
c6a05a72
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
rules/build-prog.mk
rules/build-prog.mk
+2
-2
No files found.
rules/build-prog.mk
View file @
8ed0bdab
...
...
@@ -249,10 +249,10 @@ $1/$2/build/tmp/$$($1_$2_PROG)-wrapper.c: driver/utils/dynwrapper.c | $$$$(dir $
cat
driver/utils/dynwrapper.c
>>
$$
@
$1/$2/build/tmp/$$($1_$2_PROG_INPLACE)
:
$1/$2/build/tmp/$$($1_$2_PROG)-inplace-wrapper.c $1/$2/build/tmp/$$($1_$2_PROG).dll | $$$$(dir $$$$@)/.
$
$(
call
cmd,
$1_$2_HC
)
-no-hs-main
-
optc-g
-optc-O0
$$
<
-o
$$
@
$
$(
call
cmd,
$1_$2_HC
)
-no-hs-main
-
no-auto-link-packages
-optc-g
-optc-O0
-Iincludes
$$
<
-o
$$
@
$1/$2/build/tmp/$$($1_$2_PROG)
:
$1/$2/build/tmp/$$($1_$2_PROG)-wrapper.c $1/$2/build/tmp/$$($1_$2_PROG).dll | $$$$(dir $$$$@)/.
$
$(
call
cmd,
$1_$2_HC
)
-no-hs-main
-
optc-g
-optc-O0
$$
<
-o
$$
@
$
$(
call
cmd,
$1_$2_HC
)
-no-hs-main
-
no-auto-link-packages
-optc-g
-optc-O0
-Iincludes
$$
<
-o
$$
@
$1/$2/build/tmp/$$($1_$2_PROG).dll
:
$$($1_$2_$$($1_$2_PROGRAM_WAY)_HS_OBJS) $$($1_$2_$$($1_$2_PROGRAM_WAY)_C_OBJS) $$($1_$2_$$($1_$2_PROGRAM_WAY)_S_OBJS) $$($1_$2_OTHER_OBJS) | $$$$(dir $$$$@)/.
$
$(
call
build-dll,
$1
,
$2
,
$$
(
$1_$2_PROGRAM_WAY
)
,,
$$
(
$1_$2_
$$
(
$1_$2_PROGRAM_WAY
)
_HS_OBJS
)
$$
(
$1_$2_
$$
(
$1_$2_PROGRAM_WAY
)
_C_OBJS
)
$$
(
$1_$2_
$$
(
$1_$2_PROGRAM_WAY
)
_S_OBJS
)
$$
(
$1_$2_OTHER_OBJS
)
,
$$
@
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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