]> git.ozlabs.org Git - ccan/blobdiff - tools/compile.c
opt: only use termios if HAVE_SYS_TERMIOS_H is defined
[ccan] / tools / compile.c
index 65283bc7a166bd8d797fa0c444de25fa37014a53..b88c1d865186b636e35ee359186517196d80b7ac 100644 (file)
@@ -1,6 +1,15 @@
 #include "tools.h"
 #include <stdlib.h>
 
+#ifndef CCAN_COMPILER
+#define CCAN_COMPILER DEFAULT_CCAN_COMPILER
+#endif
+#ifndef CCAN_CFLAGS
+#define CCAN_CFLAGS DEFAULT_CCAN_CFLAGS
+#endif
+const char *compiler = CCAN_COMPILER;
+const char *cflags = CCAN_CFLAGS;
+
 bool compile_verbose = false;
 
 /* Compile multiple object files into a single.  Returns NULL if fails. */