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"