build: correct usage of OPENSSL_NO_ASM define
Some checks are pending
CI / build (macos-latest, 0.13.0) (push) Waiting to run
CI / build (true, ubuntu-latest, master) (push) Waiting to run
CI / build (ubuntu-latest, 0.12.1) (push) Waiting to run
CI / build (ubuntu-latest, 0.13.0) (push) Waiting to run
CI / build (windows-latest, 0.13.0) (push) Waiting to run
Some checks are pending
CI / build (macos-latest, 0.13.0) (push) Waiting to run
CI / build (true, ubuntu-latest, master) (push) Waiting to run
CI / build (ubuntu-latest, 0.12.1) (push) Waiting to run
CI / build (ubuntu-latest, 0.13.0) (push) Waiting to run
CI / build (windows-latest, 0.13.0) (push) Waiting to run
Whoops.
This commit is contained in:
parent
fbd8c18115
commit
2f5d617aab
@ -162,6 +162,7 @@ pub fn build(b: *std.Build) !void {
|
||||
.files = libcrypto_nonasm,
|
||||
.flags = cflags,
|
||||
});
|
||||
libressl_libs.defineCMacro("OPENSSL_NO_ASM", null);
|
||||
}
|
||||
|
||||
libressl_libs.defineCMacro("LIBRESSL_INTERNAL", null);
|
||||
@ -169,7 +170,6 @@ pub fn build(b: *std.Build) !void {
|
||||
libressl_libs.defineCMacro("__BEGIN_HIDDEN_DECLS", "");
|
||||
libressl_libs.defineCMacro("__END_HIDDEN_DECLS", "");
|
||||
libressl_libs.defineCMacro("LIBRESSL_CRYPTO_INTERNAL", null);
|
||||
libressl_libs.defineCMacro("OPENSSL_NO_ASM", null);
|
||||
|
||||
switch (tinfo.os.tag) {
|
||||
.linux => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user