mkports

recipes for building multiple softwares with mk(1)
git clone git://z3bra.org/mkports
Log | Files | Refs

commit f6b57576541c55a3c7d3c4eacbb33f652652ffcc
parent f04cdd4884741df0c4e3ec1fa387d23fd936e465
Author: Willy <willyatmailoodotorg>
Date:   Tue Jun  7 23:18:01 +0200

gcc ports building on musl based systems

Diffstat:
gcc/mkfile | 28++++++++++++++--------------
gcc/patches | 1+
2 files changed, 15 insertions(+), 14 deletions(-)
diff --git a/gcc/mkfile b/gcc/mkfile @@ -1,29 +1,29 @@ pkg = gcc ver = 5.3.0 -#ver = 4.9.3 +#ver = 6.1.0 url = ftp://ftp.gnu.org/pub/gnu/gcc/$pkg-$ver/$pkg-$ver.tar.gz <../config.mk <../default.mk -MAKEFLAGS = ${MAKEFLAGS} all-gcc all-target-libgcc CONFIGURE = ${CONFIGURE} \ - --with-sysroot= \ - --disable-libgomp \ + --with-as=/usr/bin/as \ + --disable-bootstrap \ + --disable-werror \ --disable-libmudflap \ --disable-libsanitizer \ - --disable-libstdcxx \ --enable-threads=posix \ - --enable-languages=c \ - --with-pkgversion="SPOINK-x86_64-static" + --enable-languages=c,c++ \ + --with-pkgversion="DISTRO-x86_64-static" -#build:QV: fetch patch -# cd $WORK/$pkg-$ver -# ./configure $CONFIGURE -# make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${MAKEFLAGS} all-gcc all-target-libgcc +build:QV: fetch patch + mkdir -p $WORK/$pkg-$ver/build + cd $WORK/$pkg-$ver/build + ../configure $CONFIGURE + make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${MAKEFLAGS} all-gcc all-target-libgcc install:QV: build - mkdir -p $destdir - cd $WORK/$pkg-$ver - make ${MAKEFLAGS} DESTDIR=$destdir install-gcc install-target-libgcc + mkdir -p $destdir + cd $WORK/$pkg-$ver/build + make ${MAKEFLAGS} DESTDIR=$destdir install-gcc install-target-libgcc diff --git a/gcc/patches b/gcc/patches @@ -0,0 +1 @@ +Subproject commit 3da6f0cc0990dc0fc12ce674f5dd88d301a000d5