git subrepo clone https://github.com/agottem/weld.git weld
subrepo:
subdir: "weld"
merged: "d0cd07b"
upstream:
origin: "https://github.com/agottem/weld.git"
branch: "master"
commit: "d0cd07b"
git-subrepo:
version: "0.3.1"
origin: "???"
commit: "???"
Change-Id: I109553651e97fd93e00aa555d171ca9d04ce8585
diff --git a/weld/toolchain/gcc/mode/release.mk b/weld/toolchain/gcc/mode/release.mk
new file mode 100644
index 0000000..09aa392
--- /dev/null
+++ b/weld/toolchain/gcc/mode/release.mk
@@ -0,0 +1,14 @@
+# Copyright 2015 Andrew Gottemoller.
+#
+# This software is a copyrighted work licensed under the terms of the
+# Weld license. Please consult the file "WELD_LICENSE" for
+# details.
+
+# This makefile defines settings for release mode
+
+
+compiler_flag_list := -O3 $(compiler_flag_list)
+
+ifeq ($(type), bin)
+ link_flag_list := -Wl,-O,1 $(link_flag_list)
+endif