mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
Ports: Update openssl's patches to use git patches
This commit is contained in:
parent
6e5509183f
commit
2c71a62e09
4 changed files with 63 additions and 19 deletions
|
@ -0,0 +1,48 @@
|
|||
From 924ba86b0ea438a69f0110ccf16cebe24619d3e1 Mon Sep 17 00:00:00 2001
|
||||
From: Luke Wilde <lukew@serenityos.org>
|
||||
Date: Wed, 16 Mar 2022 12:52:30 +0000
|
||||
Subject: [PATCH 1/2] Add a serenity configuration
|
||||
|
||||
Co-Authored-By: Rodrigo Tobar <rtobarc@gmail.com>
|
||||
---
|
||||
Configurations/10-main.conf | 24 ++++++++++++++++++++++++
|
||||
1 file changed, 24 insertions(+)
|
||||
|
||||
diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf
|
||||
index 8ca8235..3dea01f 100644
|
||||
--- a/Configurations/10-main.conf
|
||||
+++ b/Configurations/10-main.conf
|
||||
@@ -627,6 +627,30 @@ my %targets = (
|
||||
shared_extension => ".so",
|
||||
},
|
||||
|
||||
+### Serenity
|
||||
+ "serenity-generic" => {
|
||||
+ inherit_from => [ "BASE_unix" ],
|
||||
+ CC => "gcc",
|
||||
+ CXX => "g++",
|
||||
+ CFLAGS => picker(default => "-Wall",
|
||||
+ debug => "-O0 -g",
|
||||
+ release => "-O3"),
|
||||
+ CXXFLAGS => picker(default => "-Wall",
|
||||
+ debug => "-O0 -g",
|
||||
+ release => "-O3"),
|
||||
+ cflags => threads("-pthread"),
|
||||
+ cxxflags => combine("-std=c++11", threads("-pthread")),
|
||||
+ lib_cppflags => "-DOPENSSL_USE_NODELETE",
|
||||
+ ex_libs => add("-ldl", threads("-pthread")),
|
||||
+ bn_ops => "BN_LLONG RC4_CHAR",
|
||||
+ thread_scheme => "pthreads",
|
||||
+ dso_scheme => "dlfcn",
|
||||
+ shared_target => "serenity-shared",
|
||||
+ shared_cflag => "-fPIC",
|
||||
+ shared_ldflag => sub { $disabled{pinshared} ? () : "-Wl,-znodelete" },
|
||||
+ shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",
|
||||
+ },
|
||||
+
|
||||
####
|
||||
#### Variety of LINUX:-)
|
||||
####
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue