Package: libvpx / 1.15.2-1

0002-Do-not-undefine-_FORTIFY_SOURCE.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Sebastian Ramacher <sramacher@debian.org>
Date: Thu, 5 Oct 2023 23:06:17 +0200
Subject: Do not undefine _FORTIFY_SOURCE

---
 build/make/configure.sh | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/build/make/configure.sh b/build/make/configure.sh
index cc5bf6c..5c7a0e4 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1600,10 +1600,6 @@ EOF
   # shared objects
   enabled gcc && enabled pic && check_add_cflags -fPIC
 
-  # Work around longjmp interception on glibc >= 2.11, to improve binary
-  # compatibility. See http://code.google.com/p/webm/issues/detail?id=166
-  enabled linux && check_add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
-
   # Check for strip utility variant
   ${STRIP} -V 2>/dev/null | grep GNU >/dev/null && enable_feature gnu_strip