always stop the asm generators from calling the C compiler
This commit is contained in:
parent
8730803401
commit
0492445a69
12
update.sh
12
update.sh
@ -161,11 +161,7 @@ $GREP -v OPENSSL_ia32cap_P $libcrypto_src/Symbols.list | $GREP '^[A-Za-z0-9_]' >
|
|||||||
# generate assembly crypto algorithms
|
# generate assembly crypto algorithms
|
||||||
asm_src=$libcrypto_src
|
asm_src=$libcrypto_src
|
||||||
gen_asm_stdout() {
|
gen_asm_stdout() {
|
||||||
if [ $1 = "mingw64" ]; then
|
CC=true perl $asm_src/$2 $1 > $3.tmp
|
||||||
CC=true perl $asm_src/$2 $1 > $3.tmp
|
|
||||||
else
|
|
||||||
perl $asm_src/$2 $1 > $3.tmp
|
|
||||||
fi
|
|
||||||
[ $1 = "elf" ] && cat <<-EOF >> $3.tmp
|
[ $1 = "elf" ] && cat <<-EOF >> $3.tmp
|
||||||
#if defined(HAVE_GNU_STACK)
|
#if defined(HAVE_GNU_STACK)
|
||||||
.section .note.GNU-stack,"",%progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
@ -174,11 +170,7 @@ gen_asm_stdout() {
|
|||||||
$MV $3.tmp $3
|
$MV $3.tmp $3
|
||||||
}
|
}
|
||||||
gen_asm() {
|
gen_asm() {
|
||||||
if [ $1 = "mingw64" ]; then
|
CC=true perl $asm_src/$2 $1 $3.tmp
|
||||||
CC=true perl $asm_src/$2 $1 $3.tmp
|
|
||||||
else
|
|
||||||
perl $asm_src/$2 $1 $3.tmp
|
|
||||||
fi
|
|
||||||
[ $1 = "elf" ] && cat <<-EOF >> $3.tmp
|
[ $1 = "elf" ] && cat <<-EOF >> $3.tmp
|
||||||
#if defined(HAVE_GNU_STACK)
|
#if defined(HAVE_GNU_STACK)
|
||||||
.section .note.GNU-stack,"",%progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
Loading…
x
Reference in New Issue
Block a user