diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-06-10 14:08:54 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-06-19 12:50:56 +0200 |
commit | 14337a8390feb97539b6b981c68123632204e75d (patch) | |
tree | c09753737f8ab4c869cc4db0a39106c189c3127e /cfg.mk | |
parent | b60d7c35f8243bdc1da0e308e57737afe9013d2d (diff) | |
download | gnutls-14337a8390feb97539b6b981c68123632204e75d.tar.gz |
macosx: include aarch64 asm files
Relates #475
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -247,4 +247,16 @@ lib/accelerated/aarch64/elf/%.s: devel/perlasm/%.pl .submodule.stamp echo ".section .note.GNU-stack,\"\",%progbits" >> $@ rm -f $@.tmp.S $@.tmp.s $@.tmp +lib/accelerated/aarch64/macosx/%.s: devel/perlasm/%.pl .submodule.stamp + rm -f $@tmp + CC=aarch64-linux-gnu-gcc perl $< ios64 $@.tmp + cat $@.tmp | /usr/bin/perl -ne '/^#(line)?\s*[0-9]+/ or print' > $@.tmp.S + echo "" >> $@.tmp.S + sed -i 's/OPENSSL_armcap_P/_gnutls_arm_cpuid_s/g' $@.tmp.S + sed -i 's/arm_arch.h/aarch64-common.h/g' $@.tmp.S + aarch64-linux-gnu-gcc -D__ARM_MAX_ARCH__=8 -Ilib/accelerated/aarch64 -Wa,--noexecstack -E $@.tmp.S -o $@.tmp.s + cat $<.license $@.tmp.s > $@ + rm -f $@.tmp.S $@.tmp.s $@.tmp +lib/accelerated/aarch64/coff/%.s: devel/perlasm/%.pl .submodule.stamp + @true |