mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
mk/cfg: add .mk suffix on files to avoid "supprises" when backup files (file~) are in the directory
This commit is contained in:
parent
3e9414463e
commit
8581f00249
5
configure
vendored
5
configure
vendored
@ -883,7 +883,10 @@ CFG_PREFIX=${CFG_PREFIX%/}
|
|||||||
CFG_MANDIR=${CFG_MANDIR%/}
|
CFG_MANDIR=${CFG_MANDIR%/}
|
||||||
CFG_HOST="$(echo $CFG_HOST | tr ',' ' ')"
|
CFG_HOST="$(echo $CFG_HOST | tr ',' ' ')"
|
||||||
CFG_TARGET="$(echo $CFG_TARGET | tr ',' ' ')"
|
CFG_TARGET="$(echo $CFG_TARGET | tr ',' ' ')"
|
||||||
CFG_SUPPORTED_TARGET="$(ls ${CFG_SRC_DIR}mk/cfg)"
|
CFG_SUPPORTED_TARGET=""
|
||||||
|
for target_file in ${CFG_SRC_DIR}mk/cfg/*.mk; do
|
||||||
|
CFG_SUPPORTED_TARGET="${CFG_SUPPORTED_TARGET} $(basename "$target_file" .mk)"
|
||||||
|
done
|
||||||
|
|
||||||
# copy host-triples to target-triples so that hosts are a subset of targets
|
# copy host-triples to target-triples so that hosts are a subset of targets
|
||||||
V_TEMP=""
|
V_TEMP=""
|
||||||
|
@ -113,7 +113,7 @@ $(foreach cvar,CC CXX CPP CFLAGS CXXFLAGS CPPFLAGS, \
|
|||||||
|
|
||||||
CFG_RLIB_GLOB=lib$(1)-*.rlib
|
CFG_RLIB_GLOB=lib$(1)-*.rlib
|
||||||
|
|
||||||
include $(wildcard $(CFG_SRC_DIR)mk/cfg/*)
|
include $(wildcard $(CFG_SRC_DIR)mk/cfg/*.mk)
|
||||||
|
|
||||||
# The -Qunused-arguments sidesteps spurious warnings from clang
|
# The -Qunused-arguments sidesteps spurious warnings from clang
|
||||||
define FILTER_FLAGS
|
define FILTER_FLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user