OSDN Git Service

Disable LLVM's use of __DATE__ and __TIME__ macros.
authorNicolas Capens <capn@google.com>
Tue, 9 Feb 2016 13:57:41 +0000 (08:57 -0500)
committerNicolas Capens <capn@google.com>
Tue, 9 Feb 2016 15:00:03 +0000 (15:00 +0000)
commit23d2d2ac49c0e3616a3417d76ad6373ec8c32974
treeadfb2b09608914a1c7678357209102f2629b142b
parent7bb62683e90d13af8dd62b8ea8f2b633f714af21
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/4730
Reviewed-by: Keun Soo Yim <yim@google.com>
Reviewed-by: Nicolas Capens <capn@google.com>
Tested-by: Nicolas Capens <capn@google.com>
src/LLVM/include-android/llvm/Config/config.h
src/LLVM/include-linux/llvm/Config/config.h
src/LLVM/include-osx/llvm/Config/config.h
src/LLVM/include/llvm/Config/config.h