Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
10 changes: 10 additions & 0 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,10 @@
'cflags': [ '-m64', '-march=z196' ],
'ldflags': [ '-m64', '-march=z196' ],
}],
[ 'host_arch=="riscv64"', {
'cflags': [ '-march=rv64gc', '-mabi=lp64d' ],
'ldflags': [ '-march=rv64gc', '-mabi=lp64d' ],
}],
],
}],
['_toolset=="target"', {
Expand Down Expand Up @@ -583,6 +587,12 @@
'cflags': [ '-m64', '-march=z196' ],
'ldflags': [ '-m64', '-march=z196' ],
}],
['target_arch=="riscv64"', {
'variables': {
'openssl_target%': 'linux64-riscv64',
'openssl_config%': 'linux64-riscv64',
},
}],
],
}],
],
Expand Down
8 changes: 4 additions & 4 deletions deps/openssl/config/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ PERL = perl
# Supported architecture list
ASM_ARCHS = aix64-gcc-as BSD-x86 BSD-x86_64 \
darwin64-x86_64-cc darwin-i386-cc darwin64-arm64-cc linux-aarch64 \
linux-armv4 linux-elf linux-x86_64 \
linux-armv4 linux-elf linux-x86_64 linux64-riscv64 \
linux-ppc64le linux32-s390x linux64-s390x linux64-mips64\
solaris-x86-gcc solaris64-x86_64-gcc VC-WIN64A VC-WIN32

NO_ASM_ARCHS = VC-WIN64-ARM linux64-riscv64 linux64-loongarch64
NO_ASM_ARCHS = VC-WIN64-ARM linux64-loongarch64

CC = gcc
FAKE_GCC = ../config/fake_gcc.pl
Expand All @@ -41,9 +41,9 @@ GEN_HEADERS = asn1 asn1t bio comp cmp cms conf configuration core_names crmf \
crypto ct err ess fipskey lhash ocsp opensslv pkcs12 pkcs7 \
safestack srp ssl ui x509_acert x509 x509v3 x509_vfy

INTERNAL_GEN_HEADERS = param_names
INTERNAL_GEN_HEADERS =

CRYPTO_GEN_HEADERS = bn_conf dso_conf
CRYPTO_GEN_HEADERS = dso_conf

PHONY = all clean replace generate_headers
.PHONY: $(PHONY)
Expand Down
Loading
Loading