diff options
author | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-04-17 20:29:55 +0100 |
---|---|---|
committer | Mohammad Akhlaghi <mohammad@akhlaghi.org> | 2020-04-17 20:29:55 +0100 |
commit | 5950fb9d463b8258f2b1bbd633585eff1ff06002 (patch) | |
tree | 6e1006f271dfa21ceb47a51c09a48f18bd240316 /reproduce/software/shell/pre-make-build.sh | |
parent | 8eb0892e179b4970a9835d29b5f57dd912ca4464 (diff) |
Patchelf is now built dynamically
Until a few commits ago, PatchELF was built statically because it was used
to patch `libstdc++' at the end of the GCC building phase, but PatchELF
also depends on `libstdc++', so it would crash. However, recently when
patching the GCC libraries, we don't directly apply Patchelf to the
library, first we copy it to a temporary place, do the patching, then put
it in its proper place. So the problem above won't happen any more.
With this commit, I am thus removing the static flag from patchelf and
letting it built dynamically all the time. The main problem was that some
systems don't have a static C++ library, so PatchELF couldn't be built
statically. Instead of adding more checks, we just fixed the core
foundation of the problem.
Diffstat (limited to 'reproduce/software/shell/pre-make-build.sh')
0 files changed, 0 insertions, 0 deletions