Browse Source

Pass "openbsd" instead of "openbsd-elf" as the "flavour" to the perl assembler

machinery. OpenBSD has never been not ELF on amd64, and changing this will
actually make -portable life slightly easier in the near future.
OPENBSD_5_9
miod 9 years ago
parent
commit
9c1e4607bc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libcrypto/crypto/arch/amd64/Makefile.inc

+ 2
- 2
src/lib/libcrypto/crypto/arch/amd64/Makefile.inc View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.4 2014/11/17 20:31:21 miod Exp $
# $OpenBSD: Makefile.inc,v 1.5 2015/09/11 14:48:06 miod Exp $
# amd64-specific libcrypto build rules # amd64-specific libcrypto build rules
@ -63,7 +63,7 @@ SRCS+= ${f}.S
GENERATED+=${f}.S GENERATED+=${f}.S
${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl ${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl
(cd ${LCRYPTO_SRC}/${dir} ; \ (cd ${LCRYPTO_SRC}/${dir} ; \
/usr/bin/perl ./asm/${f}.pl openbsd-elf) > ${.TARGET}
/usr/bin/perl ./asm/${f}.pl openbsd) > ${.TARGET}
.endfor .endfor
CFLAGS+= -DOPENSSL_CPUID_OBJ CFLAGS+= -DOPENSSL_CPUID_OBJ


Loading…
Cancel
Save