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
Alex D
GHC
Commits
70b4e94b
Commit
70b4e94b
authored
Apr 23, 2011
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stage-specific versions of more ar-related makefile vars
parent
4c452d12
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
5 deletions
+20
-5
mk/config.mk.in
mk/config.mk.in
+12
-0
rts/ghc.mk
rts/ghc.mk
+2
-2
rules/build-package-way.mk
rules/build-package-way.mk
+3
-3
rules/package-config.mk
rules/package-config.mk
+3
-0
No files found.
mk/config.mk.in
View file @
70b4e94b
...
...
@@ -603,6 +603,18 @@ AR_STAGE0 = $(AR)
AR_STAGE1
=
$(AR)
AR_STAGE2
=
$(AR)
AR_STAGE3
=
$(AR)
AR_OPTS_STAGE0
=
$(AR_OPTS)
AR_OPTS_STAGE1
=
$(AR_OPTS)
AR_OPTS_STAGE2
=
$(AR_OPTS)
AR_OPTS_STAGE3
=
$(AR_OPTS)
EXTRA_AR_ARGS_STAGE0
=
$(EXTRA_AR_ARGS)
EXTRA_AR_ARGS_STAGE1
=
$(EXTRA_AR_ARGS)
EXTRA_AR_ARGS_STAGE2
=
$(EXTRA_AR_ARGS)
EXTRA_AR_ARGS_STAGE3
=
$(EXTRA_AR_ARGS)
ArSupportsAtFile_STAGE0
=
$(ArSupportsAtFile)
ArSupportsAtFile_STAGE1
=
$(ArSupportsAtFile)
ArSupportsAtFile_STAGE2
=
$(ArSupportsAtFile)
ArSupportsAtFile_STAGE3
=
$(ArSupportsAtFile)
CONTEXT_DIFF
=
@ContextDiffCmd@
CP
=
cp
...
...
rts/ghc.mk
View file @
70b4e94b
...
...
@@ -195,7 +195,7 @@ else
$$(rts_$1_LIB)
:
$$(rts_$1_OBJS) $$(rts_$1_DTRACE_OBJS)
"
$
$(RM)
"
$
$(RM_OPTS)
$$
@
echo
$$
(
rts_
$1_OBJS
)
$$
(
rts_
$1_DTRACE_OBJS
)
|
"
$
$(XARGS)
"
$
$(XARGS_OPTS)
"
$
$(AR_STAGE1)
"
\
$
$(AR_OPTS
)
$
$(EXTRA_AR_ARGS
)
$$
@
$
$(AR_OPTS
_STAGE1)
$
$(EXTRA_AR_ARGS_STAGE1
)
$$
@
endif
endif
...
...
@@ -499,7 +499,7 @@ endif
ifneq
"$(BINDIST)" "YES"
rts/dist/build/libHSrtsmain.a
:
rts/dist/build/Main.o
"
$(RM)
"
$(RM_OPTS)
$@
"
$(AR_STAGE1)
"
$(AR_OPTS
)
$(EXTRA_AR_ARGS
)
$@
$<
"
$(AR_STAGE1)
"
$(AR_OPTS
_STAGE1)
$(EXTRA_AR_ARGS_STAGE1
)
$@
$<
endif
# -----------------------------------------------------------------------------
...
...
rules/build-package-way.mk
View file @
70b4e94b
...
...
@@ -87,10 +87,10 @@ ifeq "$$($1_$2_SplitObjs)" "YES"
else
echo
$$
(
$1_$2_$3_ALL_OBJS
)
>>
$$
@.contents
endif
ifeq
"$$(ArSupportsAtFile)" "YES"
"
$$
(
$1_$2_AR
)"
$
$(
AR_OPTS)
$
$(
EXTRA_AR_ARGS)
$$
@ @
$$
@.contents
ifeq
"$$(
$1_$2_
ArSupportsAtFile)" "YES"
"
$$
(
$1_$2_AR
)"
$$
(
$1_$2_AR_OPTS
)
$$
(
$1_$2_
EXTRA_AR_ARGS
)
$$
@ @
$$
@.contents
else
"
$
$(XARGS)
"
$
$(XARGS_OPTS)
"
$$
(
$1_$2_AR
)"
$
$(
AR_OPTS)
$
$(
EXTRA_AR_ARGS)
$$
@ <
$$
@.contents
"
$
$(XARGS)
"
$
$(XARGS_OPTS)
"
$$
(
$1_$2_AR
)"
$$
(
$1_$2_AR_OPTS
)
$$
(
$1_$2_
EXTRA_AR_ARGS
)
$$
@ <
$$
@.contents
endif
"
$
$(RM)
"
$
$(RM_OPTS)
$$
@.contents
endif
...
...
rules/package-config.mk
View file @
70b4e94b
...
...
@@ -18,6 +18,9 @@ $(call profStart, package-config($1,$2,$3))
$1_$2_HC
=
$$
(
GHC_STAGE
$3
)
$1_$2_CC
=
$$
(
CC_STAGE
$3
)
$1_$2_AR
=
$$
(
AR_STAGE
$3
)
$1_$2_AR_OPTS
=
$$
(
AR_OPTS_STAGE
$3
)
$1_$2_EXTRA_AR_ARGS
=
$$
(
EXTRA_AR_ARGS_STAGE
$3
)
$1_$2_ArSupportsAtFile
=
$$
(
ArSupportsAtFile_STAGE
$3
)
# configuration stuff that depends on which GHC we're building with
ifeq
"$3" "0"
...
...
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