]> andersk Git - nss_nonlocal.git/blobdiff - debian/rules
Fix cross-compiling on karmic and lucid.
[nss_nonlocal.git] / debian / rules
index 982e1916007d8f68674677ce0d4894f5b354f8a9..24e5e551cdc456f61513e975e9a035a1cff2d47c 100755 (executable)
@@ -61,6 +61,9 @@ configure/lib64nss-nonlocal:: CC += -m64 -D__x86_64__
 # 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)
 
This page took 0.057789 seconds and 4 git commands to generate.