File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -43,19 +43,11 @@ _VER="$1"
4343 CPPFLAGS+=' -DS2N_BN_HIDE_SYMBOLS'
4444
4545 if [ " ${_OS} " = ' mac' ]; then
46- CPPFLAGS+=' -Dglobl=private_extern' # make assembly symbols hidden
47-
4846 # Workaround for mis-detecting 'strtonum' successfully despite targeting
4947 # older OS version, then using it.
5048 if [ " ${_OSVER} " -lt ' 1100' ]; then
5149 options+=' -DHAVE_STRTONUM=0'
5250 fi
53- elif [ " ${_OS} " = ' linux' ] && [ " ${_CPU} " = ' x64' ]; then
54- # Add a `.hidden <func>` next to each `.globl <func>` one:
55- find . -name ' *-elf-x86_64.S' | sort | while read -r f; do
56- awk ' /^\.globl\t/ {s=$0; sub("^.globl", ".hidden", s); print s}; {print}' < " ${f} " > " ${f} .tmp"
57- mv " ${f} .tmp" " ${f} "
58- done
5951 fi
6052
6153 if [ " ${CW_DEV_CMAKE_PREFILL:- } " = ' 1' ] && [ " ${_OS} " = ' win' ]; then
You can’t perform that action at this time.
0 commit comments