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/lang/c.mk b/weld/toolchain/gcc/lang/c.mk
new file mode 100644
index 0000000..94c07ac
--- /dev/null
+++ b/weld/toolchain/gcc/lang/c.mk
@@ -0,0 +1,12 @@
+# 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 the c language
+
+
+compile_command := $(if $(gcc_opt_use_clang),clang,gcc)
+
+compiler_flag_list := -std=c99 $(compiler_flag_list)