On Wed, Oct 27, 2010 at 10:34:46PM +0000, ceros-gu...@users.alioth.debian.org 
wrote:
   Set CFLAGS via DEB_CFLAGS, otherwise let xvidcore's build system chose 
CFLAGS.

diff --git a/debian/rules b/debian/rules
index 137d4c9..c81bae1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,8 @@
#!/usr/bin/make -f

+# Set CFLAGS from DEB_CFLAGS if defined, otherwise let xvidcore's build system
+# set CFLAGS to use.
+CFLAGS = $(or $(DEB_CFLAGS),)
+

Simpler:

CFLAGS = $(DEB_CFLAGS)


 - Jonas

--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to