From 9efbae42cf5f37972e5783bc3fa8e230152f8e73 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 29 Sep 2025 07:11:02 +0000 Subject: automatic import of netty --- fix-strip.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 fix-strip.patch (limited to 'fix-strip.patch') diff --git a/fix-strip.patch b/fix-strip.patch new file mode 100644 index 0000000..9423607 --- /dev/null +++ b/fix-strip.patch @@ -0,0 +1,14 @@ +diff -Nur a/transport-native-epoll/pom.xml b/transport-native-epoll/pom.xml +--- a/transport-native-epoll/pom.xml 2025-09-08 15:37:39.281041787 +0800 ++++ b/transport-native-epoll/pom.xml 2025-09-08 15:39:41.699041787 +0800 +@@ -36,8 +36,8 @@ + ${project.build.directory}/unix-common-lib + ${unix.common.lib.dir}/META-INF/native/lib + ${unix.common.lib.dir}/META-INF/native/include +- CFLAGS=-O2 -pipe -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -I${unix.common.include.unpacked.dir} +- LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,--gc-sections -L${unix.common.lib.unpacked.dir} ++ CFLAGS=-O2 -pipe -Werror -fno-omit-frame-pointer -Wunused-variable -fvisibility=hidden -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections -Wl,-s -I${unix.common.include.unpacked.dir} ++ LDFLAGS=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,--gc-sections -Wl,-s -L${unix.common.lib.unpacked.dir} + LIBS=-Wl,--whole-archive -l${unix.common.lib.name} -Wl,--no-whole-archive -ldl -lrt + ${project.basedir}/src/main/c + true -- cgit v1.2.3