summaryrefslogtreecommitdiff
path: root/libcrypto/libcrypto/buildinf-body.h.in
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-02-26 17:04:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-02-28 16:07:10 +0300
commit0ca0851a01251b960ba19d958978004168f58593 (patch)
treed50cc7f7d17e1f1a79dd2c1026606ed23540222d /libcrypto/libcrypto/buildinf-body.h.in
parent05e886fee177833f75d01ebf72f120021f71f130 (diff)
Add implementation
Diffstat (limited to 'libcrypto/libcrypto/buildinf-body.h.in')
-rw-r--r--libcrypto/libcrypto/buildinf-body.h.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/libcrypto/libcrypto/buildinf-body.h.in b/libcrypto/libcrypto/buildinf-body.h.in
new file mode 100644
index 0000000..b6c8e96
--- /dev/null
+++ b/libcrypto/libcrypto/buildinf-body.h.in
@@ -0,0 +1,26 @@
+/* file : libcrypto/buildinf-body.h.in -*- C -*-
+ * copyright : Copyright (c) 2016-2019 Code Synthesis Ltd
+ * license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file
+ */
+
+#ifndef LIBCRYPTO_BUILDINF_BODY_H
+#define LIBCRYPTO_BUILDINF_BODY_H
+
+#define PLATFORM "platform: $c.target.class$-$c.target.cpu$"
+
+/*
+ * Note that the __TIMESTAMP__ macro expands into the local time, but we will
+ * pretend it to be UTC to exactly reproduce the upstream's DATE macro. We
+ * don't think the exact build time really matters.
+ */
+#define DATE "built on: " __TIMESTAMP__ " UTC"
+
+/*
+ * Compiler class and flags.
+ */
+static const char compiler_flags[] =
+{
+ "compiler: $c.class$"$cflags$
+};
+
+#endif /* LIBCRYPTO_BUILDINF_BODY_H */