unar: fix build with new gnustep-base

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230627 for reference
This commit is contained in:
ajs124 2020-05-22 20:59:44 +02:00
parent 0c332b2a1e
commit 27e5a3f6c3

View file

@ -16,7 +16,9 @@ stdenv.mkDerivation rec {
for f in Makefile.linux ../UniversalDetector/Makefile.linux ; do
substituteInPlace $f \
--replace "= gcc" "=cc" \
--replace "= g++" "=c++"
--replace "= g++" "=c++" \
--replace "-DGNU_RUNTIME=1" "" \
--replace "-fgnu-runtime" "-fobjc-nonfragile-abi"
done
# we need to build inside this directory as well, so we have to make it writeable