ansible@2.8: readd stack check workaround

This reverts commit 62c8cfdc9e.
master
Bo Anderson 2020-03-29 17:15:36 +01:00
parent 00505f7c3f
commit 58e6048ebc
1 changed files with 4 additions and 0 deletions

View File

@ -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"