]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/dnsdist
wget: Update to 1.20.2
[ipfire-2.x.git] / lfs / dnsdist
index 85a841fa5696143d34930ea9a299259665ff1a0d..3e10c9eb2ae63f2e93a67236aeaef00ff99626db 100644 (file)
@@ -37,6 +37,8 @@ PAK_VER    = 1
 
 DEPS       = ""
 
+MAX_PARALLELISM = $(shell echo $$(( $(SYSTEM_MEMORY) / 512)))
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -79,7 +81,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
-       cd $(DIR_APP) && make
+       cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
 
        #install initscripts