summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild/make/configure.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index eead3b563..ab087f172 100755
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -952,6 +952,10 @@ process_common_toolchain() {
# 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 -D_FORTIFY_SOURCE=0
+
# Check for strip utility variant
${STRIP} -V 2>/dev/null | grep GNU >/dev/null && enable gnu_strip