Merge pull request #117240 from eraserhd/fix-gambit-compiler-paths
gambit: fix compiler paths
This commit is contained in:
commit
36f2c10ca5
@ -63,11 +63,11 @@ gccStdenv.mkDerivation rec {
|
|||||||
lib.optional (!gccStdenv.isDarwin) "--enable-poll";
|
lib.optional (!gccStdenv.isDarwin) "--enable-poll";
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
export CC=${gccStdenv.cc.targetPrefix}gcc \
|
export CC=${gccStdenv.cc}/bin/${gccStdenv.cc.targetPrefix}gcc \
|
||||||
CXX=${gccStdenv.cc.targetPrefix}g++ \
|
CXX=${gccStdenv.cc}/bin/${gccStdenv.cc.targetPrefix}g++ \
|
||||||
CPP=${gccStdenv.cc.targetPrefix}cpp \
|
CPP=${gccStdenv.cc}/bin/${gccStdenv.cc.targetPrefix}cpp \
|
||||||
CXXCPP=${gccStdenv.cc.targetPrefix}cpp \
|
CXXCPP=${gccStdenv.cc}/bin/${gccStdenv.cc.targetPrefix}cpp \
|
||||||
LD=${gccStdenv.cc.targetPrefix}ld \
|
LD=${gccStdenv.cc}/bin/${gccStdenv.cc.targetPrefix}ld \
|
||||||
XMKMF=${coreutils}/bin/false
|
XMKMF=${coreutils}/bin/false
|
||||||
unset CFLAGS LDFLAGS LIBS CPPFLAGS CXXFLAGS
|
unset CFLAGS LDFLAGS LIBS CPPFLAGS CXXFLAGS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user