From ea3f6da2ef0bb242173fdb6b87d204a16e95af7d Mon Sep 17 00:00:00 2001 From: Adam Baxter Date: Sat, 13 Jan 2024 18:51:12 +1100 Subject: [PATCH] Disable gprofng --- Dockerfile | 9 ++++++--- cowpatch.sh | 2 +- litecross/Makefile | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 285b518..24d99c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,11 @@ -FROM alpine -RUN apk add alpine-sdk make curl xz bison +FROM alpine as build +RUN apk add alpine-sdk make curl xz bison linux-headers WORKDIR /src COPY . /src RUN make sources/gcc-13.2.0.tar.xz RUN make sources/binutils-2.41.tar.xz -RUN make TARGET=aarch64-linux-musl +RUN make -j$(nproc) TARGET=aarch64-linux-musl +RUN make install TARGET=aarch64-linux-musl + + diff --git a/cowpatch.sh b/cowpatch.sh index bacabbd..c79c9d9 100755 --- a/cowpatch.sh +++ b/cowpatch.sh @@ -1,4 +1,4 @@ -#!/bin/sh -x +#!/bin/sh # # cowpatch.sh, by Rich Felker # diff --git a/litecross/Makefile b/litecross/Makefile index 9cd691b..e132e68 100644 --- a/litecross/Makefile +++ b/litecross/Makefile @@ -63,7 +63,7 @@ FULL_BINUTILS_CONFIG = \ --target=$(TARGET) --prefix= \ --libdir=/lib --disable-multilib \ --with-sysroot=$(SYSROOT) \ - --enable-deterministic-archives + --enable-deterministic-archives --disable-gprofng FULL_GCC_CONFIG = --enable-languages=c,c++ \ $(GCC_CONFIG_FOR_TARGET) \