diff options
author | Brent Cook <bcook@openbsd.org> | 2015-08-31 02:30:25 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-08-31 02:30:25 -0500 |
commit | dbfba1154f70202dd8b698ffc07429fc1452f839 (patch) | |
tree | 2cdc516ea0fbf0570a544c378c7a94865518b7e5 /update.sh | |
parent | 058df4a2341257b438edb68b74dbad12ad174a88 (diff) | |
download | portable-dbfba1154f70202dd8b698ffc07429fc1452f839.tar.gz portable-dbfba1154f70202dd8b698ffc07429fc1452f839.tar.bz2 portable-dbfba1154f70202dd8b698ffc07429fc1452f839.zip |
remove DEF_WEAK from libc copies
Diffstat (limited to '')
-rwxr-xr-x | update.sh | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 | ||
68 | for i in crypto/compat libtls-standalone/compat; do | 68 | for 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 | ||
83 | done | 84 | done |
84 | 85 | ||
85 | $CP include/compat/stdlib.h \ | 86 | $CP include/compat/stdlib.h \ |