Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ShellB3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ray Garcia
ShellB3
Commits
7e121466
Commit
7e121466
authored
2 months ago
by
Ray Garcia
Browse files
Options
Downloads
Patches
Plain Diff
push-pop LIBRARY_PATH workaround for gcc
parent
0bb97b59
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ShellB3/shallbethree.sh
+7
-0
7 additions, 0 deletions
ShellB3/shallbethree.sh
with
7 additions
and
0 deletions
ShellB3/shallbethree.sh
+
7
−
0
View file @
7e121466
...
...
@@ -7248,7 +7248,9 @@ mk__gcc() {
fi
# https://github.com/riscv-collab/riscv-gnu-toolchain/issues/860
export xxLIBRARY_PATHxx="$LIBRARY_PATH"
unset LIBRARY_PATH
export xxLD_LIBRARY_PATHxx="$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH="$BASE/lib:$BASE/lib64:$LD_LIBRARY_PATH"
CXXFLAGS="$(omitparameter -stdlib=libc++ 0 ${CXXFLAGS})" CPPFLAGS="$(omitparameter -stdlib=libc++ 0 ${CPPFLAGS}) $( isDarwin && echo -DHAVE_FCNTL_H=1 -DHAVE_SPAWN_H=1)" \
...
...
@@ -7256,6 +7258,11 @@ mk__gcc() {
--with-mpc=${BASE} --bindir=${BASE}/sysbin --disable-libgcj --with-isl=${BASE} --enable-checking=release \
--disable-multilib --enable-languages=${LANGS} ${EXTRAPARMS} "$@"
export LD_LIBRARY_PATH="$xxLD_LIBRARY_PATHxx"
export LIBRARY_PATH="$xxLIBRARY_PATHxx"
unset xxLIBRARY_PATHxx
unset xxLD_LIBRARY_PATHxx
if isFalse BUILD_GCPP ; then
rm -f ${BASE}/*/lib*san.* ${BASE}/*/libstdc++* ${BASE}/*bin*/c++ ${BASE}/*bin*/g++ ${BASE}/*bin*/cc ${BASE}/*bin*/gcc
rm -f ${REALBASE}/*/lib*san.* ${BAREALBASESE}/*/libstdc++* ${REALBASE}/*bin*/c++ ${REALBASE}/*bin*/g++ ${REALBASE}/*bin*/cc ${REALBASE}/*bin*/gcc
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment