mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 05:44:17 +08:00
Fix nginx cflags, add openssl3 and http v3 module
This commit is contained in:
parent
c2dc58336b
commit
3ada1513be
@ -9,7 +9,7 @@ patches = [
|
||||
template = "custom"
|
||||
dependencies = [
|
||||
"pcre",
|
||||
"openssl1",
|
||||
"openssl3",
|
||||
"zlib",
|
||||
]
|
||||
script = """
|
||||
@ -19,7 +19,7 @@ ARCH="${TARGET%%-*}"
|
||||
COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--crossbuild=Redox:$ARCH
|
||||
--with-cc="$CC"
|
||||
--with-cc-opt="$CFLAGS"
|
||||
--with-cc-opt="$CFLAGS $CPPFLAGS"
|
||||
--with-ld-opt="$LDFLAGS"
|
||||
--sbin-path=/usr/bin/nginx
|
||||
--modules-path=/usr/lib/nginx/modules
|
||||
@ -46,6 +46,7 @@ COOKBOOK_CONFIGURE_FLAGS=(
|
||||
--with-threads
|
||||
--with-http_ssl_module
|
||||
--with-http_v2_module
|
||||
--with-http_v3_module
|
||||
--with-http_realip_module
|
||||
--with-http_gzip_static_module
|
||||
--with-http_stub_status_module
|
||||
|
||||
@ -1,3 +1,29 @@
|
||||
diff -ruwN source/auto/cc/clang source-new/auto/cc/clang
|
||||
--- source/auto/cc/clang 2025-04-23 18:48:54.000000000 +0700
|
||||
+++ source-new/auto/cc/clang 2026-02-24 07:55:59.340299231 +0700
|
||||
@@ -88,9 +88,6 @@
|
||||
CFLAGS="$CFLAGS -Wno-deprecated-declarations"
|
||||
fi
|
||||
|
||||
-# stop on warning
|
||||
-CFLAGS="$CFLAGS -Werror"
|
||||
-
|
||||
# debug
|
||||
CFLAGS="$CFLAGS -g"
|
||||
|
||||
diff -ruwN source/auto/cc/gcc source-new/auto/cc/gcc
|
||||
--- source/auto/cc/gcc 2025-04-23 18:48:54.000000000 +0700
|
||||
+++ source-new/auto/cc/gcc 2026-02-24 07:56:03.156908192 +0700
|
||||
@@ -165,9 +165,6 @@
|
||||
esac
|
||||
|
||||
|
||||
-# stop on warning
|
||||
-CFLAGS="$CFLAGS -Werror"
|
||||
-
|
||||
# debug
|
||||
CFLAGS="$CFLAGS -g"
|
||||
|
||||
diff -ruwN source/auto/feature source-new/auto/feature
|
||||
--- source/auto/feature 2025-04-23 18:48:54.000000000 +0700
|
||||
+++ source-new/auto/feature 2025-09-16 02:44:58.617532926 +0700
|
||||
|
||||
Loading…
Reference in New Issue
Block a user