tinycc: simplify specifying cc/ar
Co-authored-by: Artturi <Artturin@artturin.com>
This commit is contained in:
committed by
GitHub
parent
9a5345698d
commit
8eeae5320e
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--cc=${stdenv.cc.targetPrefix}cc"
|
||||
"--ar=${stdenv.cc.targetPrefix}ar"
|
||||
"--cc=$CC"
|
||||
"--ar=$AR"
|
||||
"--crtprefix=${lib.getLib stdenv.cc.libc}/lib"
|
||||
"--sysincludepaths=${lib.getDev stdenv.cc.libc}/include:{B}/include"
|
||||
"--libpaths=${lib.getLib stdenv.cc.libc}/lib"
|
||||
|
||||
Reference in New Issue
Block a user