mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 08:11:54 +00:00
check-llvm: Tweak the feature "timestamps" for autoconf.
Note, ENABLE_TIMESTAMPS is either 1 or 0 in Makefile.config. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
827bc7fe53
commit
59e6e921b2
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user