[SCM] xvidcore/master: Set CFLAGS via DEB_CFLAGS, otherwise let xvidcore's build system chose CFLAGS.
Jonas Smedegaard
dr at jones.dk
Thu Oct 28 05:32:12 UTC 2010
On Wed, Oct 27, 2010 at 10:34:46PM +0000, ceros-guest at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20101028/05fb04b2/attachment-0001.pgp>
More information about the pkg-multimedia-maintainers
mailing list