summaryrefslogtreecommitdiff
path: root/homebrew/crosstoolng/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/crosstoolng/.make.sh-auto')
-rw-r--r--homebrew/crosstoolng/.make.sh-auto10
1 files changed, 10 insertions, 0 deletions
diff --git a/homebrew/crosstoolng/.make.sh-auto b/homebrew/crosstoolng/.make.sh-auto
new file mode 100644
index 000000000..1c82be8c0
--- /dev/null
+++ b/homebrew/crosstoolng/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+./bootstrap
+ENV["BISON"] = "#{Formula["bison"].opt_bin}/bison"
+ENV.append "LDFLAGS", "-lintl"
+end
+ENV["M4"] = "#{Formula["m4"].opt_bin}/m4"
+ENV["MAKE"] = "#{Formula["make"].opt_bin}/gmake"
+pkg:configure
+make
+make DESTDIR=${PKG_DEST} install