[SCM] libav/ubuntu: Don't override -g or -O3 flags set by libav's build system.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 10 10:04:17 UTC 2012
The following commit has been merged in the ubuntu branch:
commit 1797c50fe66670b8618a5fbe04ca15177a3227ee
Author: Andres Mejia <amejia004 at gmail.com>
Date: Sun Mar 18 17:21:37 2012 -0400
Don't override -g or -O3 flags set by libav's build system.
(cherry picked from commit d78d2e6d0d0f43a6203ee6b78a8c0fefcab7838a)
Signed-off-by: Reinhard Tartler <siretart at tauware.de>
diff --git a/debian/confflags b/debian/confflags
index 1c6a609..b7b3104 100644
--- a/debian/confflags
+++ b/debian/confflags
@@ -160,7 +160,7 @@ ifneq (,$(findstring linux,$(DEB_HOST_GNU_TYPE)))
endif
# Enable hardened build flags through dpkg-buildflags
-CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
+CFLAGS := $(filter-out -g -O2,$(shell dpkg-buildflags --get CFLAGS))
CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
LDFLAGS := $(filter-out %-Bsymbolic-functions,$(shell dpkg-buildflags --get LDFLAGS))
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list