tUpdate config.mk with various parameters - mkports - recipes for building multiple softwares with mk(1)
 (HTM) git clone git://z3bra.org/mkports
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 8f11f39b75f6e253feadaabe4e13f1f4e9518699
 (DIR) parent b6c4fb87c9ad7950b41fa1b3c65018265cb532f6
 (HTM) Author: z3bra <contactatz3bradotorg>
       Date:   Thu, 26 Jan 2017 18:30:20 +0000
       
       Update config.mk with various parameters
       
       Diffstat:
         M config.mk                           |      31 ++++++++++++++++---------------
         M default.mk                          |       3 +--
       
       2 files changed, 17 insertions(+), 17 deletions(-)
       ---
 (DIR) diff --git a/config.mk b/config.mk
       t@@ -1,33 +1,34 @@
       -TRIPLET = x86_64-pc-linux-musl
       -ROOT    = /ns/distro/fs
       -REPO    = /ns/distro/pm/repo
       +TRIPLET = x86_64-linux-musl
       +ROOT    = /tmp/mkports/rootfs
       +REPO    = /var/repo
        WORK    = `{printf '/tmp/mkports/%s-%s' "$pkg" "$(id -u)"}
        NPROC   = 8
        
       -CC     = gcc -static
       -CXX    = g++ -static
       -LD     = $CC
       -AR     = ar
       +#TOOLCHAIN = x86_64-linux-musl-
       +TOOLCHAIN =
       +CC     = ${TOOLCHAIN}gcc -static
       +CXX    = ${TOOLCHAIN}g++ -static
       +LD     = $CC -Bstatic
        HOSTCC = $CC
       -RANLIB = ranlib
       -STRIP  = strip
       +AR     = ${TOOLCHAIN}ar
       +RANLIB = ${TOOLCHAIN}ranlib
       +STRIP  = ${TOOLCHAIN}strip
        
       -CHOST     = x86_64-pc-linux-musl
       -CBUILD    = x86_64-pc-linux-musl
       +CHOST     = $TRIPLET
       +CBUILD    = $TRIPLET
        CTARGET   = $TRIPLET
        
        CPPFLAGS  = -I${ROOT}/include
        CFLAGS    = ${CPPFLAGS}
       -LDFLAGS   = -L${ROOT}/lib
       +LDFLAGS   = -L${ROOT}/lib -static
        MAKEFLAGS = -j${NPROC} PREFIX= prefix= MANDIR=/man mandir=/man MANPREFIX=/man
        CONFIGURE = --prefix= \
       -            --host=$CHOST \
       -            --build=$CBUILD \
       +            --build=$TRIPLET \
                    --target=$TRIPLET \
                    --mandir=/man \
                    --libdir=/lib \
                    --includedir=/include \
                    --enable-static \
       -            --disable-shared \
                    --disable-nls \
       +            --disable-shared \
                    --disable-multilib
 (DIR) diff --git a/default.mk b/default.mk
       t@@ -90,4 +90,4 @@ clean:V:
        
        # remove the pack
        distclean:V: clean
       -        rm -f $tarball
       -\ No newline at end of file
       +        rm -f $tarball