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
afcf3b2a
Commit
afcf3b2a
authored
Aug 19, 2009
by
Simon Marlow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rolling back: Add a kludge to fix building shared libs
parent
e9655493
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
29 deletions
+0
-29
ghc.mk
ghc.mk
+0
-3
rules/build-package-way.mk
rules/build-package-way.mk
+0
-10
rules/mkdep.mk
rules/mkdep.mk
+0
-16
No files found.
ghc.mk
View file @
afcf3b2a
...
@@ -140,9 +140,6 @@ endif
...
@@ -140,9 +140,6 @@ endif
include
rules/all-target.mk
include
rules/all-target.mk
include
rules/clean-target.mk
include
rules/clean-target.mk
# Helper macro
include
rules/mkdep.mk
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# The inplace tree
# The inplace tree
...
...
rules/build-package-way.mk
View file @
afcf3b2a
...
@@ -46,16 +46,6 @@ $$($1_$2_$3_LIB) : $$($1_$2_$3_HS_OBJS) $$($1_$2_dyn_C_OBJS) $$($1_$2_dyn_S_OBJS
...
@@ -46,16 +46,6 @@ $$($1_$2_$3_LIB) : $$($1_$2_$3_HS_OBJS) $$($1_$2_dyn_C_OBJS) $$($1_$2_dyn_S_OBJS
-shared
-dynamic
-dynload
deploy
\
-shared
-dynamic
-dynload
deploy
\
-no-auto-link-packages
$
$(
addprefix
-package
,
$$
(
$1_$2_DEPS
))
\
-no-auto-link-packages
$
$(
addprefix
-package
,
$$
(
$1_$2_DEPS
))
\
-o
$$
@
-o
$$
@
# This is a kludge. The .dyn_hi files currently depend on the .dyn_hi
# files of modules that they import. But they actually want the .hi
# files of modules from another package.This we make the .dyn_hi files
# depend on the .hi files so we are sure that they exist and are
# up-to-date.
$$(foreach
m,$$(addprefix
$1/$2/build/,$$($1_$2_SLASH_MODS)),\
$$(eval
$$(call
mkdep,$$m.$$($3_hisuf),$$m.hi))
\
)
else
else
# Build the ordinary .a library
# Build the ordinary .a library
ifeq
"$$($1_$2_SplitObjs)" "YES"
ifeq
"$$($1_$2_SplitObjs)" "YES"
...
...
rules/mkdep.mk
deleted
100644 → 0
View file @
e9655493
# -----------------------------------------------------------------------------
#
# (c) 2009 The University of Glasgow
#
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
#
# -----------------------------------------------------------------------------
define mkdep # args
:
$1 = target
,
$2 = deps
$1
:
$2
endef
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