diff options
author | Konstantin Shalygin | 2024-11-28 02:43:18 +0700 |
---|---|---|
committer | Konstantin Shalygin | 2024-11-28 02:43:18 +0700 |
commit | 2d2aed47e492b364b49082d885431c3884e9f31a (patch) | |
tree | c1b84ee8469f1bd299f13312a41c9b0df673de6a /74.patch | |
parent | 4d6e2e38fba5d38b83a4559236c17c0c37f95850 (diff) | |
download | aur-openvpn-auth-ldap.tar.gz |
Fixes for build with GCC 14 & CVE patches
Diffstat (limited to '74.patch')
-rw-r--r-- | 74.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/74.patch b/74.patch new file mode 100644 index 000000000000..5b881498986c --- /dev/null +++ b/74.patch @@ -0,0 +1,25 @@ +From 4ff4bbdef3fe10ffa565fd7e3be1c993a92cb2e5 Mon Sep 17 00:00:00 2001 +From: Aniol Marti <amarti@caliu.cat> +Date: Fri, 2 Aug 2019 23:44:43 +0000 +Subject: [PATCH] Load LDFLAGS passed when running configure + +--- + platform.m4 | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/platform.m4 b/platform.m4 +index d1f4ecf..16f31cb 100644 +--- a/platform.m4 ++++ b/platform.m4 +@@ -95,9 +95,9 @@ AC_DEFUN(OD_CONFIG_PLUGIN, [ + # A sensible default + PLUGIN_CFLAGS="-fPIC" + PLUGIN_LD="${CC} -shared" +- PLUGIN_LD_FLAGS="" ++ PLUGIN_LD_FLAGS="${LDFLAGS}" + PLUGIN_SUFFIX=".so" +- LDFLAGS="-export-dynamic" ++ LDFLAGS="-export-dynamic ${LDFLAGS}" + ;; + esac + |