aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-07-03 11:05:09 -0500
committerBrent Cook <busterb@gmail.com>2023-07-03 11:05:09 -0500
commit7d0b106805f08997267c90ddbc6eea8e0b029f84 (patch)
tree9299b2ea981219d3b4787862e0bdc01a792b0307 /update.sh
parent4ccf125f8899c9ec45c91560ba835d8b9ee8e4c9 (diff)
parentb328be457ae699947f409b7434293d632c36e47d (diff)
downloadportable-7d0b106805f08997267c90ddbc6eea8e0b029f84.tar.gz
portable-7d0b106805f08997267c90ddbc6eea8e0b029f84.tar.bz2
portable-7d0b106805f08997267c90ddbc6eea8e0b029f84.zip
Land #872, implement endbr64 workaround on macOS in preprocessor
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh9
1 files changed, 0 insertions, 9 deletions
diff --git a/update.sh b/update.sh
index abf2097..d42cd58 100755
--- a/update.sh
+++ b/update.sh
@@ -194,11 +194,6 @@ fixup_masm() {
194 > $2 194 > $2
195} 195}
196 196
197fixup_macosx() {
198 echo Fixing up $2
199 sed -e 's/endbr64//' $1 > $2
200}
201
202# generate assembly crypto algorithms 197# generate assembly crypto algorithms
203asm_src=$libcrypto_src 198asm_src=$libcrypto_src
204gen_asm_stdout() { 199gen_asm_stdout() {
@@ -210,8 +205,6 @@ gen_asm_stdout() {
210 EOF 205 EOF
211 if [ $1 = "masm" ]; then 206 if [ $1 = "masm" ]; then
212 fixup_masm crypto/$3.tmp crypto/$3 207 fixup_masm crypto/$3.tmp crypto/$3
213 elif [ $1 = "macosx" ]; then
214 fixup_macosx crypto/$3.tmp crypto/$3
215 else 208 else
216 $MV crypto/$3.tmp crypto/$3 209 $MV crypto/$3.tmp crypto/$3
217 fi 210 fi
@@ -238,8 +231,6 @@ gen_asm() {
238 EOF 231 EOF
239 if [ $1 = "masm" ]; then 232 if [ $1 = "masm" ]; then
240 fixup_masm crypto/$3.tmp crypto/$3 233 fixup_masm crypto/$3.tmp crypto/$3
241 elif [ $1 = "macosx" ]; then
242 fixup_macosx crypto/$3.tmp crypto/$3
243 else 234 else
244 $MV crypto/$3.tmp crypto/$3 235 $MV crypto/$3.tmp crypto/$3
245 fi 236 fi