aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-08-31 02:30:25 -0500
committerBrent Cook <bcook@openbsd.org>2015-08-31 02:30:25 -0500
commitdbfba1154f70202dd8b698ffc07429fc1452f839 (patch)
tree2cdc516ea0fbf0570a544c378c7a94865518b7e5 /update.sh
parent058df4a2341257b438edb68b74dbad12ad174a88 (diff)
downloadportable-dbfba1154f70202dd8b698ffc07429fc1452f839.tar.gz
portable-dbfba1154f70202dd8b698ffc07429fc1452f839.tar.bz2
portable-dbfba1154f70202dd8b698ffc07429fc1452f839.zip
remove DEF_WEAK from libc copies
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/update.sh b/update.sh
index ad809d8..e3a55da 100755
--- a/update.sh
+++ b/update.sh
@@ -66,7 +66,7 @@ $CP $libtls_src/tls.h include
66$CP $libtls_src/tls.h libtls-standalone/include 66$CP $libtls_src/tls.h libtls-standalone/include
67 67
68for i in crypto/compat libtls-standalone/compat; do 68for i in crypto/compat libtls-standalone/compat; do
69 $CP $libc_src/crypt/arc4random.c \ 69 for j in $libc_src/crypt/arc4random.c \
70 $libc_src/crypt/chacha_private.h \ 70 $libc_src/crypt/chacha_private.h \
71 $libc_src/string/explicit_bzero.c \ 71 $libc_src/string/explicit_bzero.c \
72 $libc_src/stdlib/reallocarray.c \ 72 $libc_src/stdlib/reallocarray.c \
@@ -78,8 +78,9 @@ for i in crypto/compat libtls-standalone/compat; do
78 $libc_src/string/timingsafe_bcmp.c \ 78 $libc_src/string/timingsafe_bcmp.c \
79 $libc_src/string/timingsafe_memcmp.c \ 79 $libc_src/string/timingsafe_memcmp.c \
80 $libcrypto_src/crypto/getentropy_*.c \ 80 $libcrypto_src/crypto/getentropy_*.c \
81 $libcrypto_src/crypto/arc4random_*.h \ 81 $libcrypto_src/crypto/arc4random_*.h; do
82 $i 82 sed "/DEF_WEAK/d" < $j > $i/`basename "$j"`
83 done
83done 84done
84 85
85$CP include/compat/stdlib.h \ 86$CP include/compat/stdlib.h \