mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 13:15:08 +00:00

The 3.0 series is the new LTS version and is supported until 7th September 2026. The 1.1.1 series which is the previous LTS version has an end of support on 11th September 2023.
45 lines
1.8 KiB
Diff
45 lines
1.8 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Luke Wilde <lukew@serenityos.org>
|
|
Date: Wed, 16 Mar 2022 12:52:30 +0000
|
|
Subject: [PATCH] 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 8010087b46dcea332f586d440b442fa1bcf3e34d..ee25d4c1be22f7eade443a5d48c3df60f4c7a6f1 100644
|
|
--- a/Configurations/10-main.conf
|
|
+++ b/Configurations/10-main.conf
|
|
@@ -672,6 +672,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:-)
|
|
####
|