Ajout désactivation dependency-tracking avec les paquets autoconfs (si supporté)
authorgobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sat, 5 Mar 2011 05:09:57 +0000 (05:09 +0000)
committergobo72 <gobo72@364a67c3-989e-7be9-548d-dae8560ea662>
Sat, 5 Mar 2011 05:09:57 +0000 (05:09 +0000)
functions-ipkg

index f8669af..1058358 100644 (file)
@@ -144,6 +144,14 @@ ipkg_script()
             --cache-file=${LFS_TMP}/${PACKAGE}-build/config.cache"
     fi
 
+    # Add option --disable-dependency-tracking if supported
+    if cat ${LFS_TMP}/${PACKAGE}/configure | \
+        grep "disable-dependency-tracking" 1> /dev/null 2>&1; then
+        CONFIGURE_OPTS="\
+            ${CONFIGURE_OPTS} \
+            --disable-dependency-tracking"
+    fi
+
     ipkg_display_build_infos
 
     if [ "x${IPKG_MODE}" = "xnoac" ]; then