summaryrefslogtreecommitdiff
path: root/homebrew/vc4asm/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/vc4asm/.make.sh-auto')
-rw-r--r--homebrew/vc4asm/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/vc4asm/.make.sh-auto b/homebrew/vc4asm/.make.sh-auto
new file mode 100644
index 000000000..045c9abf2
--- /dev/null
+++ b/homebrew/vc4asm/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.cxx11
+inreplace "src/utils.cpp", "#include <unistd.h>", "#include <unistd.h>\n#include <errno.h>"
+(buildpath/"src").install resource("old_makefile")
+make -C src
+bin.install "bin/vc4asm", "bin/vc4dis"
+share.install "share/vc4.qinc"