fix: remove failing build args

This commit is contained in:
Jake Hamilton 2024-07-03 02:22:20 -07:00
parent 2b5f90d4e5
commit 27a0e3d59f
Signed by: jakehamilton
GPG key ID: 9762169A1B35EA68

View file

@ -158,9 +158,7 @@ in
configure = lib.dag.entry.between [ "build" ] [ "patch" ] '' configure = lib.dag.entry.between [ "build" ] [ "patch" ] ''
# Configure # Configure
export CC="gcc -Wl,-dynamic-linker -march=${ export CC="gcc -Wl,-dynamic-linker -Wl,${foundation.stage1-musl}/lib/libc.so"
host.gcc.arch or host.system.cpu.family
} ${mbits} -Wl,${foundation.stage1-musl}/lib/libc.so"
export CXX="g++ -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 CFLAGS_FOR_TARGET="-Wl,-dynamic-linker -Wl,${foundation.stage1-musl}/lib/libc.so"
export LIBRARY_PATH="${foundation.stage1-musl}/lib" export LIBRARY_PATH="${foundation.stage1-musl}/lib"