distro

small linux distro experiment
Log | Files | Refs

commit 0e12e76440c164f1fddc95644866f5e36a5175fd
parent 03b6cfadad912eaeb079dcc864a302256969bcac
Author: z3bra <contactatz3bradotorg>
Date:   Fri, 26 Oct 2018 07:49:45 +0200

Update default config file

Diffstat:
pkg/config.mk | 25++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/pkg/config.mk b/pkg/config.mk @@ -1,19 +1,22 @@ +HOST = x86_64-unknown-linux-gnu TRIPLET = x86_64-linux-musl NPROC = 8 CC = x86_64-linux-musl-gcc -static CXX = x86_64-linux-musl-g++ -static -LD = $CC -Bstatic +LD = $CC + +# --static is needed when using libtool, because it "discards" -static +LDFLAGS = -s --static -CFLAGS = -LDFLAGS = -static MAKEFLAGS = PREFIX=/ MANDIR=/man MANPREFIX=/man mandir=/man prefix=/ configureopts = --prefix=/ \ - --target=$TRIPLET \ - --mandir=/man \ - --libdir=/lib \ - --includedir=/include \ - --enable-static \ - --disable-nls \ - --disable-shared \ - --disable-multilib + --host=$HOST \ + --target=$TRIPLET \ + --mandir=/man \ + --libdir=/lib \ + --includedir=/include \ + --enable-static \ + --disable-shared \ + --disable-nls \ + --disable-multilib