Skip to content

Commit

Permalink
meson: Don't set CC and CXX
Browse files Browse the repository at this point in the history
I've since convinced upstream to not use such vars for the build
platform during cross. Finally!
  • Loading branch information
Ericson2314 committed Apr 26, 2020
1 parent 8c0c24b commit 3c00ca0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pkgs/development/tools/build-managers/meson/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/tools/build-managers/meson/setup-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c00ca0

Please sign in to comment.