[SCM] libav/ubuntu: Filter out system-wide setting of -Bsymbolic-functions to avoid FTBFS.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 10 10:04:15 UTC 2012


The following commit has been merged in the ubuntu branch:
commit 11cb73808b2d1548349755c7a10ba29d9a445338
Author: Fabian Greffrath <fabian at greffrath.com>
Date:   Fri Mar 2 13:50:19 2012 +0100

    Filter out system-wide setting of -Bsymbolic-functions to avoid FTBFS.
    
    (cherry picked from commit 229f90453d39ec5234a8d7384da4c477c3e01b39)
    
    Signed-off-by: Reinhard Tartler <siretart at tauware.de>

diff --git a/debian/confflags b/debian/confflags
index f11c857..aacb3ff 100644
--- a/debian/confflags
+++ b/debian/confflags
@@ -162,7 +162,7 @@ endif
 # Enable hardened build flags through dpkg-buildflags
 CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
 CFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
-LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+LDFLAGS := $(filter-out %-Bsymbolic-functions,$(shell dpkg-buildflags --get LDFLAGS))
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 # Various parts of Libav (and swscale) FTBFS when compiling with -fPIC

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list