meson: Don't set CC and CXX

I've since convinced upstream to not use such vars for the build
platform during cross. Finally!
This commit is contained in:
John Ericson 2020-04-26 16:31:49 -04:00
parent 8c0c24bf93
commit 3c00ca03a2
2 changed files with 1 additions and 3 deletions

View file

@ -90,8 +90,6 @@ python3Packages.buildPythonApplication rec {
# checkInputs = [ ninja pkgconfig ];
# checkPhase = "python ./run_project_tests.py";
inherit (stdenv) cc;
isCross = stdenv.targetPlatform != stdenv.hostPlatform;
meta = with lib; {

View file

@ -25,7 +25,7 @@ mesonConfigurePhase() {
echo "meson flags: $mesonFlags ${mesonFlagsArray[@]}"
CC=@cc@/bin/cc CXX=@cc@/bin/c++ meson build $mesonFlags "${mesonFlagsArray[@]}"
meson build $mesonFlags "${mesonFlagsArray[@]}"
cd build
if ! [[ -v enableParallelBuilding ]]; then