mag

a binary package manager in one C file: apk and pacman repos, CRUX, Void and Exherbo ports
git clone https://github.com/tortr-rs/mag
Log | Files | Refs | README | LICENSE

commit 562de1fd8f213ac662a1e22b8dc38ee666489f97
parent 5dfe09934ef2124ebb5ce1b1c3cf73979bed85af
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Sat, 14 Nov 2026 19:18:35 +0000

musl: configure with plain -O2, the root's -include sys/sysmacros.h cannot work before musl is there

Diffstat:
Mrepo/sys-libs/musl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/repo/sys-libs/musl b/repo/sys-libs/musl @@ -4,6 +4,6 @@ url: https://musl.libc.org/releases/musl-${version}.tar.gz sha256: a9a118bbe84d8764da0ea0d28b3ab3fae8477fc7e4085d90102b8596fc7c75e4 deps: steps: - CC=clang ./configure --prefix=$PREFIX --syslibdir=/lib LIBCC="$(clang -rtlib=compiler-rt -print-libgcc-file-name)" + CFLAGS=-O2 CC=clang ./configure --prefix=$PREFIX --syslibdir=/lib LIBCC="$(clang -rtlib=compiler-rt -print-libgcc-file-name)" gmake -j$JOBS gmake DESTDIR=$DESTDIR install