From 58e6048ebcfb36a3e70066b79ab2705048552e24 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Sun, 29 Mar 2020 17:15:36 +0100 Subject: [PATCH] ansible@2.8: readd stack check workaround This reverts commit 62c8cfdc9e6d4551467e0658ea1de199f3fbca8f. --- Formula/ansible@2.8.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/ansible@2.8.rb b/Formula/ansible@2.8.rb index 5cf04ea7b0b..a8435701eba 100644 --- a/Formula/ansible@2.8.rb +++ b/Formula/ansible@2.8.rb @@ -598,6 +598,10 @@ class AnsibleAT28 < Formula # Fix "ld: file not found: /usr/lib/system/libsystem_darwin.dylib" for lxml ENV["SDKROOT"] = MacOS.sdk_path if MacOS.version == :sierra + # Work around Xcode 11 clang bug + # https://code.videolan.org/videolan/libbluray/issues/20 + ENV.append_to_cflags "-fno-stack-check" if DevelopmentTools.clang_build_version >= 1010 + # https://github.com/Homebrew/homebrew-core/issues/7197 ENV.prepend "CPPFLAGS", "-I#{MacOS.sdk_path}/usr/include/ffi"