]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/cleanup-toolchain
miniupnpd: move initscript to src/initscripts/packages and use new macro
[ipfire-2.x.git] / lfs / cleanup-toolchain
index 5c9fd0d5b3598a6a2c207d04b7e792a3091a915b..90369889d95e1539172c2fab9c09fc35423ddf7a 100644 (file)
@@ -54,7 +54,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 ifeq "$(PASS)" "1"
        SPECS=$$(dirname $$(/tools/bin/$(CROSSTARGET)-gcc -print-libgcc-file-name))/specs; \
        /tools/bin/$(CROSSTARGET)-gcc -dumpspecs | sed \
-               -e 's@/lib\(64\)\?/ld@/tools&@g' \
                -e "/^\*cpp:$$/{n;s,$$, -isystem /tools/include,}" > $$SPECS
 endif
 
@@ -70,6 +69,9 @@ ifeq "$(PASS)" "2"
 
        # Fix ownership of the toolchain.
        chown -R root:root /tools/
+
+       # Update/create linker cache.
+       /tools/sbin/ldconfig
 endif
 
 ifeq "$(PASS)" "3"