mirror of
https://github.com/simh/simh.git
synced 2026-03-02 17:55:17 +00:00
2
makefile
2
makefile
@@ -359,7 +359,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)"
|
||||
SIM_BUILD_OS_VERSION= -DSIM_BUILD_OS_VERSION="$(shell uname -a|sed 's/,//g')"
|
||||
LTO_EXCLUDE_VERSIONS =
|
||||
PCAPLIB = pcap
|
||||
ifeq (agcc,$(findstring agcc,${GCC})) # Android target build?
|
||||
|
||||
2
scp.c
2
scp.c
@@ -6954,7 +6954,7 @@ if (flag) {
|
||||
char buildosversion[2*PATH_MAX+1] = S_xstr(SIM_BUILD_OS_VERSION);
|
||||
#endif
|
||||
|
||||
if ((f = popen ("uname -a", "r"))) {
|
||||
if ((f = popen ("uname -a | sed 's/,//g'", "r"))) {
|
||||
memset (osversion, 0, sizeof (osversion));
|
||||
do {
|
||||
if (NULL == fgets (osversion, sizeof (osversion)-1, f))
|
||||
|
||||
Reference in New Issue
Block a user