Commit 23d2d2ac by Nicolas Capens

Disable LLVM's use of __DATE__ and __TIME__ macros.

Timestamp macros make the build unreproducible. This is of particular concern to Android, but since LLVM only uses them for command line operations which we don't need at all, they can be disabled on all platforms. Bug 27079084 Change-Id: I2c4c3dcd06feb3a64936e70ca1535f5a12816e95 Reviewed-on: https://swiftshader-review.googlesource.com/4730Reviewed-by: 's avatarKeun Soo Yim <yim@google.com> Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 7bb62683
......@@ -36,7 +36,7 @@
#define ENABLE_THREADS 1
/* Define if timestamp information (e.g., __DATE___) is allowed */
#define ENABLE_TIMESTAMPS 1
#define ENABLE_TIMESTAMPS 0
/* Define to 1 if you have the `argz_append' function. */
#define HAVE_ARGZ_APPEND 1
......
......@@ -36,7 +36,7 @@
#define ENABLE_THREADS 1
/* Define if timestamp information (e.g., __DATE___) is allowed */
#define ENABLE_TIMESTAMPS 1
#define ENABLE_TIMESTAMPS 0
/* Define to 1 if you have the `argz_append' function. */
#define HAVE_ARGZ_APPEND 1
......
......@@ -36,7 +36,7 @@
#define ENABLE_THREADS 1
/* Define if timestamp information (e.g., __DATE___) is allowed */
#define ENABLE_TIMESTAMPS 1
#define ENABLE_TIMESTAMPS 0
/* Define to 1 if you have the `argz_append' function. */
/* #undef HAVE_ARGZ_APPEND */
......
......@@ -36,7 +36,7 @@
#define ENABLE_THREADS 1
/* Define if timestamp information (e.g., __DATE___) is allowed */
#define ENABLE_TIMESTAMPS 1
#define ENABLE_TIMESTAMPS 0
/* Define to 1 if you have the `argz_append' function. */
/* #undef HAVE_ARGZ_APPEND */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment