diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-23 20:35:28 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-11-23 20:35:28 (GMT) |
commit | 630f2e270940e43850006f693af66d71c99a141d (patch) | |
tree | 5a88493b29cb17824172431a90746a50a39e9af9 /scripts/build/debug/000-template.sh | |
parent | 9a88bb84fb828797165501c283296dbc174ba3f0 (diff) |
scripts/xldd: better find sysroot with old gcc
Only starting with 4.4 does gcc have a -print-sysroot option.
For 4.3 or before, we have to play some tricks:
- ask gcc where libc.so is,
(we expect it in ${sysroot}/usr/lib/libc.so)
- trim /usr/lib/libc.so from the result
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from aa2305c5b2a57fbcda9a1b5bb5fb3a476ac49a13)
Diffstat (limited to 'scripts/build/debug/000-template.sh')
0 files changed, 0 insertions, 0 deletions