mirror of
https://github.com/simh/simh.git
synced 2026-01-26 04:01:38 +00:00
SCP: makefile: Extend SHOW VERSION output to include build OS version
This is only displayed when the build OS version is different from the running OS version.
This commit is contained in:
3
makefile
3
makefile
@@ -349,6 +349,7 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin)
|
||||
$(shell git log -1 --pretty="SIM_GIT_COMMIT_ID %H$(GIT_EXTRA_FILES)%nSIM_GIT_COMMIT_TIME $(isodate)" >.git-commit-id)
|
||||
endif
|
||||
endif
|
||||
SIM_BUILD_OS_VERSION= -DSIM_BUILD_OS_VERSION="$(shell uname -a)"
|
||||
LTO_EXCLUDE_VERSIONS =
|
||||
PCAPLIB = pcap
|
||||
ifeq (agcc,$(findstring agcc,${GCC})) # Android target build?
|
||||
@@ -1352,7 +1353,7 @@ ifneq ($(DONT_USE_READER_THREAD),)
|
||||
endif
|
||||
|
||||
CC_OUTSPEC = -o $@
|
||||
CC := ${GCC} ${CC_STD} -U__STRICT_ANSI__ ${CFLAGS_G} ${CFLAGS_O} ${CFLAGS_GIT} ${CFLAGS_I} -DSIM_COMPILER="${COMPILER_NAME}" -DSIM_BUILD_TOOL=simh-makefile -I . ${OS_CCDEFS} ${ROMS_OPT}
|
||||
CC := ${GCC} ${CC_STD} -U__STRICT_ANSI__ ${CFLAGS_G} ${CFLAGS_O} ${CFLAGS_GIT} ${CFLAGS_I} -DSIM_COMPILER="${COMPILER_NAME}" $(SIM_BUILD_OS_VERSION) -DSIM_BUILD_TOOL=simh-makefile -I . ${OS_CCDEFS} ${ROMS_OPT}
|
||||
ifneq (,${SIM_VERSION_MODE})
|
||||
CC += -DSIM_VERSION_MODE="${SIM_VERSION_MODE}"
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user