mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
parent
345897f096
commit
8337d99574
@ -11,8 +11,8 @@ shift 2
|
|||||||
# $@ contains the actual build command
|
# $@ contains the actual build command
|
||||||
OUT=$(echo "$@" | sed 's/.* -o \(.*\.o\).*/\1/')
|
OUT=$(echo "$@" | sed 's/.* -o \(.*\.o\).*/\1/')
|
||||||
trap cleanup INT QUIT EXIT
|
trap cleanup INT QUIT EXIT
|
||||||
SYMSFILE=$(mktemp --tmpdir ${PREFIX}_rename.syms.XXXXX)
|
SYMSFILE=$(mktemp -p /tmp ${PREFIX}_rename.syms.XXXXX)
|
||||||
KEEPSYMS=$(mktemp --tmpdir keep.syms.XXXXX)
|
KEEPSYMS=$(mktemp -p /tmp keep.syms.XXXXX)
|
||||||
# find the libc used by gcc
|
# find the libc used by gcc
|
||||||
LIBC_SO=$("$@" --print-file-name=libc.so.6)
|
LIBC_SO=$("$@" --print-file-name=libc.so.6)
|
||||||
cp ${KEEPSYMS_IN} ${KEEPSYMS}
|
cp ${KEEPSYMS_IN} ${KEEPSYMS}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user