From 27a0e3d59f1e6100a6269e3aa816ba183f1f398d Mon Sep 17 00:00:00 2001 From: Jake Hamilton Date: Wed, 3 Jul 2024 02:22:20 -0700 Subject: [PATCH] fix: remove failing build args --- tidepool/src/packages/foundation/gcc/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tidepool/src/packages/foundation/gcc/default.nix b/tidepool/src/packages/foundation/gcc/default.nix index 98f9ae6..4fcc225 100644 --- a/tidepool/src/packages/foundation/gcc/default.nix +++ b/tidepool/src/packages/foundation/gcc/default.nix @@ -158,9 +158,7 @@ in configure = lib.dag.entry.between [ "build" ] [ "patch" ] '' # Configure - export CC="gcc -Wl,-dynamic-linker -march=${ - host.gcc.arch or host.system.cpu.family - } ${mbits} -Wl,${foundation.stage1-musl}/lib/libc.so" + export CC="gcc -Wl,-dynamic-linker -Wl,${foundation.stage1-musl}/lib/libc.so" export CXX="g++ -Wl,-dynamic-linker -Wl,${foundation.stage1-musl}/lib/libc.so" export CFLAGS_FOR_TARGET="-Wl,-dynamic-linker -Wl,${foundation.stage1-musl}/lib/libc.so" export LIBRARY_PATH="${foundation.stage1-musl}/lib"