Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
cecd06a9
Commit
cecd06a9
authored
Apr 25, 2019
by
Johannes Pfau
Committed by
Johannes Pfau
Apr 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
D: Do not add target_libs if phobos is disabled
From-SVN: r270571
parent
a9e6359a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
1 deletions
+23
-1
gcc/d/ChangeLog
+4
-0
gcc/d/config-lang.in
+19
-1
No files found.
gcc/d/ChangeLog
View file @
cecd06a9
2019-04-25 Johannes Pfau <johannespfau@gmail.com>
* config-lang.in: Do not add target_libs if phobos is disabled.
2019-04-23 Iain Buclaw <ibuclaw@gdcproject.org>
Robin Dapp <rdapp@linux.ibm.com>
...
...
gcc/d/config-lang.in
View file @
cecd06a9
...
...
@@ -25,7 +25,25 @@ language="d"
compilers="d21\$(exeext)"
target_libs="target-libphobos target-zlib target-libbacktrace"
phobos_target_deps="target-zlib target-libbacktrace"
phobos_target_libs="target-libphobos $phobos_target_deps"
case "${noconfigdirs}" in
# Check if phobos was disabled as unsupported
*target-libphobos*)
disabled_target_libs="$disabled_target_libs $phobos_target_deps"
;;
*)
# The --disable-<component> handler in configure.ac is called after
# config-lang.in. So when using --disable-libphobos, it has not been
# added to noconfigdirs here yet
if test x${enable_libphobos} != xno; then
target_libs="$phobos_target_libs"
else
disabled_target_libs="$disabled_target_libs $phobos_target_libs"
fi
;;
esac
gtfiles="\$(srcdir)/d/d-tree.h \$(srcdir)/d/d-builtins.cc \$(srcdir)/d/d-lang.cc \$(srcdir)/d/modules.cc \$(srcdir)/d/typeinfo.cc"
...
...
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