From f92e690190b51eb6bada384174887501f4c3f43f Mon Sep 17 00:00:00 2001 From: wang_yue111 <648774160@qq.com> Date: Sat, 24 Jul 2021 10:21:03 +0800 Subject: [PATCH] fix build error on X86 --- cmake/build_wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_wrapper.sh b/cmake/build_wrapper.sh index 1962813..895610c 100755 --- a/cmake/build_wrapper.sh +++ b/cmake/build_wrapper.sh @@ -17,7 +17,7 @@ KEEPSYMS=$(mktemp -p /tmp keep.syms.XXXXX) 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 -- 2.23.0