summaryrefslogtreecommitdiff
path: root/libcrypto/libcrypto/buildinf-body.h.in
diff options
context:
space:
mode:
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 */