Clang 4 requires this patch too
This commit is contained in:
parent
415910391f
commit
ac67a32803
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class Ragel < Formula
|
|||
md5 'f4423e0d8a6538dd4e61498fcfad3cec'
|
||||
|
||||
def install
|
||||
if ENV.compiler == :clang and MacOS.clang_version.to_f == 3.1
|
||||
if ENV.compiler == :clang
|
||||
# fix build with clang
|
||||
inreplace ["aapl/avlcommon.h", "aapl/bstcommon.h", "aapl/bubblesort.h", "aapl/mergesort.h"], /([^:.])(compare)/, '\1this->\2'
|
||||
# fix build with libc++
|
||||
|
|
Loading…
Reference in a new issue