Signed-off-by: Anders Kaseorg <andersk@mit.edu>
libnss-nonlocal (1.11-0debathena3) UNRELEASED; urgency=low
* Remove the workaround for buggy CDBS $(CC) splitting (fixed upstream).
libnss-nonlocal (1.11-0debathena3) UNRELEASED; urgency=low
* Remove the workaround for buggy CDBS $(CC) splitting (fixed upstream).
+ * Fix cross-compiling on karmic and lucid.
-- Anders Kaseorg <andersk@mit.edu> Wed, 23 Jun 2010 21:04:41 -0400
-- Anders Kaseorg <andersk@mit.edu> Wed, 23 Jun 2010 21:04:41 -0400
# amd64_slibdir in eglibc/debian/sysdeps/i386.mk
configure/lib64nss-nonlocal:: DEB_CONFIGURE_EXTRA_FLAGS += --libdir="\$${prefix}/lib64"
# amd64_slibdir in eglibc/debian/sysdeps/i386.mk
configure/lib64nss-nonlocal:: DEB_CONFIGURE_EXTRA_FLAGS += --libdir="\$${prefix}/lib64"
+# Fix for CDBS ≥ 0.4.59ubuntu4, < 0.4.83ubuntu1 (karmic and lucid).
+configure/lib32nss-nonlocal configure/lib64nss-nonlocal:: DEB_CONFIGURE_SCRIPT_ENV += CC="$(CC)"
+
configure/lib32nss-nonlocal configure/lib64nss-nonlocal::
$(DEB_CONFIGURE_INVOKE) $(cdbs_configure_flags) $(DEB_CONFIGURE_EXTRA_FLAGS) $(DEB_CONFIGURE_USER_FLAGS)
configure/lib32nss-nonlocal configure/lib64nss-nonlocal::
$(DEB_CONFIGURE_INVOKE) $(cdbs_configure_flags) $(DEB_CONFIGURE_EXTRA_FLAGS) $(DEB_CONFIGURE_USER_FLAGS)