blob: b1135549811cb31a096315f7d3f1bd3a7901d47f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- cmake/build_wrapper.sh 2021-05-22 15:57:12.307345284 +0200
+++ cmake/build_wrapper.sh.new 2021-05-22 15:57:57.926340747 +0200
@@ -17,7 +17,7 @@
LIBC_SO=$("$@" --print-file-name=libc.so.6)
cp ${KEEPSYMS_IN} ${KEEPSYMS}
# get all symbols from libc and turn them into patterns
-nm -f p -g -D ${LIBC_SO} | sed -s 's/\([^ ]*\).*/^\1$/' >> ${KEEPSYMS}
+nm -f p -g -D ${LIBC_SO} | sed -s 's/\([^ @]*\).*/^\1$/' >> ${KEEPSYMS}
# build the object
"$@"
# rename the symbols in the object
|