build: fix compilation on darwin

[no changelog]
hw/mmilata/ci-fixes
Martin Milata 1 year ago
parent bdb5b9cc98
commit 4e7b12f1a2

@ -74,7 +74,6 @@ stdenvNoCC.mkDerivation ({
check
curl # for connect tests
editorconfig-checker
gcc11
gcc-arm-embedded
git
gitAndTools.git-subrepo
@ -95,6 +94,7 @@ stdenvNoCC.mkDerivation ({
moreutils
] ++ lib.optionals (!stdenv.isDarwin) [
autoPatchelfHook
gcc11
procps
valgrind
] ++ lib.optionals (stdenv.isDarwin) [

@ -4,4 +4,4 @@ if [ -z "$1" ]; then
exit 1
fi
echo "VERSION_MAJOR.VERSION_MINOR.VERSION_PATCH" | cpp -include $1 -nostdinc -P | tr -d " "
echo "VERSION_MAJOR.VERSION_MINOR.VERSION_PATCH" | cpp -include $1 -nostdinc -P - | tr -d " "

@ -1 +1 @@
Subproject commit a973bbca756ca0c9219deefea2873d3cc774839d
Subproject commit 7dc799ca6c27ca7e82c527cbd3c783d64acde89f
Loading…
Cancel
Save