1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

check-llvm: Tweak the feature "timestamps" for autoconf.

Note, ENABLE_TIMESTAMPS is either 1 or 0 in Makefile.config.

llvm-svn: 256138
This commit is contained in:
NAKAMURA Takumi 2015-12-21 08:46:12 +00:00
parent 42f0e1857f
commit 615fce17e2
2 changed files with 2 additions and 1 deletions

View File

@ -148,6 +148,7 @@ lit.site.cfg: FORCE
@$(ECHOPATH) s=@HAVE_LIBZ@=$(HAVE_LIBZ)=g >> lit.tmp
@$(ECHOPATH) s=@HAVE_DIA_SDK@=0=g >> lit.tmp
@$(ECHOPATH) s=@ENABLE_EXAMPLES@=$(BUILD_EXAMPLES)=g >> lit.tmp
@$(ECHOPATH) s=@ENABLE_TIMESTAMPS@=$(ENABLE_TIMESTAMPS)=g >> lit.tmp
@sed -f lit.tmp $(PROJ_SRC_DIR)/lit.site.cfg.in > $@
@-rm -f lit.tmp

View File

@ -464,7 +464,7 @@ if not re.match(r'^x86_64.*-(mingw32|windows-gnu|win32)', config.target_triple):
config.available_features.add('debug_frame')
# Check if we are embedding timestamps.
if config.enable_timestamps:
if config.enable_timestamps == '1':
config.available_features.add('timestamps')
# Check if we should use gmalloc.