cvc3: reenable stackprotector on aarch64-darwin
The original error that required disabling the stack protector on aarch64-darwin has been fixed in GCC.
This commit is contained in:
parent
f6c433d5a6
commit
bb1d34d0f1
1 changed files with 0 additions and 4 deletions
|
@ -16,10 +16,6 @@ stdenv.mkDerivation rec {
|
||||||
# fails to configure on darwin due to gmp not found
|
# fails to configure on darwin due to gmp not found
|
||||||
configureFlags = [ "LIBS=-L${gmp}/lib" "CXXFLAGS=-I${gmp.dev}/include" ];
|
configureFlags = [ "LIBS=-L${gmp}/lib" "CXXFLAGS=-I${gmp.dev}/include" ];
|
||||||
|
|
||||||
# disable stackprotector on aarch64-darwin for now
|
|
||||||
# https://github.com/NixOS/nixpkgs/issues/127608
|
|
||||||
hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
sed -e "s@ /bin/bash@bash@g" -i Makefile.std
|
sed -e "s@ /bin/bash@bash@g" -i Makefile.std
|
||||||
find . -exec sed -e "s@/usr/bin/perl@${perl}/bin/perl@g" -i '{}' ';'
|
find . -exec sed -e "s@/usr/bin/perl@${perl}/bin/perl@g" -i '{}' ';'
|
||||||
|
|
Loading…
Reference in a new issue