mirror of
https://github.com/curl/curl.git
synced 2026-08-26 15:43:33 +03:00
OS400: don't delete source files when building with debug
Debugger not able to work against curl *SRVPGM when using temporary source files. Fixes #15445 Closes #15446
This commit is contained in:
parent
0d475da1c4
commit
b57e9c8f9b
1 changed files with 5 additions and 3 deletions
|
|
@ -189,8 +189,8 @@ make_module()
|
||||||
echo "#pragma convert(819)"
|
echo "#pragma convert(819)"
|
||||||
echo "#line 1"
|
echo "#line 1"
|
||||||
cat "${2}"
|
cat "${2}"
|
||||||
} > __tmpsrcf.c
|
} > "${1}"__819.c
|
||||||
CMD="CRTCMOD MODULE(${TARGETLIB}/${1}) SRCSTMF('__tmpsrcf.c')"
|
CMD="CRTCMOD MODULE(${TARGETLIB}/${1}) SRCSTMF('${1}__819.c')"
|
||||||
CMD="${CMD} SYSIFCOPT(*IFS64IO *ASYNCSIGNAL)"
|
CMD="${CMD} SYSIFCOPT(*IFS64IO *ASYNCSIGNAL)"
|
||||||
# CMD="${CMD} OPTION(*INCDIRFIRST *SHOWINC *SHOWSYS)"
|
# CMD="${CMD} OPTION(*INCDIRFIRST *SHOWINC *SHOWSYS)"
|
||||||
CMD="${CMD} OPTION(*INCDIRFIRST)"
|
CMD="${CMD} OPTION(*INCDIRFIRST)"
|
||||||
|
|
@ -228,7 +228,9 @@ make_module()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CLcommand "${CMD}"
|
CLcommand "${CMD}"
|
||||||
rm -f __tmpsrcf.c
|
if [ "${DEBUG}" = "*NONE" ]
|
||||||
|
then rm -f "${1}"__819.c
|
||||||
|
fi
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
LINK=YES
|
LINK=YES
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue