Merge pull request #196916 from ptrhlm/fix-unar

unar: fix linker failure
This commit is contained in:
Thiago Kenji Okada 2022-10-20 22:14:17 +01:00 committed by GitHub
commit 950d41c958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
--replace "= gcc" "=${stdenv.cc.targetPrefix}cc" \
--replace "= g++" "=${stdenv.cc.targetPrefix}c++" \
--replace "-DGNU_RUNTIME=1" "" \
--replace "-fgnu-runtime" "-fobjc-nonfragile-abi"
--replace "-fgnu-runtime" "-fobjc-runtime=gnustep-2.0"
done
# we need to build inside this directory as well, so we have to make it writeable