summaryrefslogtreecommitdiff
path: root/homebrew/valgrind/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/valgrind/.make.sh-auto')
-rw-r--r--homebrew/valgrind/.make.sh-auto4
1 files changed, 4 insertions, 0 deletions
diff --git a/homebrew/valgrind/.make.sh-auto b/homebrew/valgrind/.make.sh-auto
new file mode 100644
index 000000000..ec955481f
--- /dev/null
+++ b/homebrew/valgrind/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+args = %W[--disable-dependency-tracking --prefix=#{prefix} --enable-only64bit --build=amd64-darwin ]
+unless MacOS::CLT.installed?
+inreplace "coregrind/Makefile.in", %r{(\s)(?=/usr/include/mach/)}, '\1'+MacOS.sdk_path.to_s