r843 - in /unstable/x264/debian: changelog rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Sun Aug 12 08:45:31 UTC 2007
Author: lool
Date: Sun Aug 12 08:45:31 2007
New Revision: 843
URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=843
Log:
* Pass --build to configure and only pass --host to configure if
DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE differ.
Modified:
unstable/x264/debian/changelog
unstable/x264/debian/rules
Modified: unstable/x264/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/x264/debian/changelog?rev=843&op=diff
==============================================================================
--- unstable/x264/debian/changelog (original)
+++ unstable/x264/debian/changelog Sun Aug 12 08:45:31 2007
@@ -1,8 +1,10 @@
x264 (0.svn20070309-5) UNRELEASED; urgency=low
* Cleanup rules.
+ * Pass --build to configure and only pass --host to configure if
+ DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE differ.
- -- Loic Minier <lool at dooz.org> Sun, 12 Aug 2007 10:44:01 +0200
+ -- Loic Minier <lool at dooz.org> Sun, 12 Aug 2007 10:45:19 +0200
x264 (0.svn20070309-4) unstable; urgency=low
Modified: unstable/x264/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/x264/debian/rules?rev=843&op=diff
==============================================================================
--- unstable/x264/debian/rules (original)
+++ unstable/x264/debian/rules Sun Aug 12 08:45:31 2007
@@ -8,7 +8,15 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-confflags := --enable-debug --enable-pthread --prefix=/usr
+confflags := \
+ --enable-debug \
+ --enable-pthread \
+ --prefix=/usr \
+ --build=$(DEB_BUILD_GNU_TYPE)
+
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+confflags += --host=$(DEB_HOST_GNU_TYPE)
+endif
CFLAGS += -Wall -g -O$(if $(findstring noopt,$(DEB_BUILD_OPTIONS)),0,2)
More information about the pkg-multimedia-commits
mailing list