gcc49: Reduce diff to gcc5
This commit is contained in:
parent
aa3d195a30
commit
77b409b2cf
@ -421,7 +421,7 @@ stdenv.mkDerivation ({
|
|||||||
CC_FOR_TARGET = "${targetPlatform.config}-gcc";
|
CC_FOR_TARGET = "${targetPlatform.config}-gcc";
|
||||||
NM_FOR_TARGET = "${targetPlatform.config}-nm";
|
NM_FOR_TARGET = "${targetPlatform.config}-nm";
|
||||||
CXX_FOR_TARGET = "${targetPlatform.config}-g++";
|
CXX_FOR_TARGET = "${targetPlatform.config}-g++";
|
||||||
# If we are making a cross compiler, cross != null
|
# If we are making a cross compiler, targetPlatform != hostPlatform
|
||||||
NIX_CC_CROSS = optionalString (targetPlatform == hostPlatform) builtins.toString stdenv.cc;
|
NIX_CC_CROSS = optionalString (targetPlatform == hostPlatform) builtins.toString stdenv.cc;
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
configureFlags =
|
configureFlags =
|
||||||
@ -501,7 +501,7 @@ stdenv.mkDerivation ({
|
|||||||
|
|
||||||
EXTRA_TARGET_CFLAGS =
|
EXTRA_TARGET_CFLAGS =
|
||||||
if targetPlatform != hostPlatform && libcCross != null then [
|
if targetPlatform != hostPlatform && libcCross != null then [
|
||||||
"-idirafter ${libcCross.dev}/include"
|
"-idirafter ${getDev libcCross}/include"
|
||||||
]
|
]
|
||||||
++ optionals (! crossStageStatic) [
|
++ optionals (! crossStageStatic) [
|
||||||
"-B${libcCross.out}/lib"
|
"-B${libcCross.out}/lib"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user