mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-30 06:40:53 +00:00
Depend on config.status instead of config.h, because config.h timestamp may not
change even though configure changes. llvm-svn: 8923
This commit is contained in:
parent
edb06ce061
commit
4c0e564072
@ -59,7 +59,7 @@ VPATH=$(SourceDir)
|
||||
###########################################################################
|
||||
|
||||
# Ensure people re-run configure when it gets updated
|
||||
all::$(LLVM_OBJ_ROOT)/include/Config/config.h
|
||||
all::$(LLVM_OBJ_ROOT)/config.status
|
||||
|
||||
ifdef SHARED_LIBRARY
|
||||
# if SHARED_LIBRARY is specified, the default is to build the dynamic lib
|
||||
@ -780,7 +780,7 @@ $(BUILD_OBJ_DIR)/Depend/%.d: %.c $(BUILD_OBJ_DIR)/Depend/.dir
|
||||
#
|
||||
# Autoconf Dependencies.
|
||||
#
|
||||
$(LLVM_OBJ_ROOT)/include/Config/config.h:: $(LLVM_SRC_ROOT)/configure
|
||||
$(LLVM_OBJ_ROOT)/config.status:: $(LLVM_SRC_ROOT)/configure
|
||||
@${ECHO} "You need to re-run $(LLVM_SRC_ROOT)/configure"
|
||||
@${ECHO} "inside the directory $(LLVM_OBJ_ROOT)"
|
||||
$(VERB) exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user