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
@ -189,8 +189,8 @@ make_module()
|
||||
echo "#pragma convert(819)"
|
||||
echo "#line 1"
|
||||
cat "${2}"
|
||||
} > __tmpsrcf.c
|
||||
CMD="CRTCMOD MODULE(${TARGETLIB}/${1}) SRCSTMF('__tmpsrcf.c')"
|
||||
} > "${1}"__819.c
|
||||
CMD="CRTCMOD MODULE(${TARGETLIB}/${1}) SRCSTMF('${1}__819.c')"
|
||||
CMD="${CMD} SYSIFCOPT(*IFS64IO *ASYNCSIGNAL)"
|
||||
# CMD="${CMD} OPTION(*INCDIRFIRST *SHOWINC *SHOWSYS)"
|
||||
CMD="${CMD} OPTION(*INCDIRFIRST)"
|
||||
@ -228,7 +228,9 @@ make_module()
|
||||
fi
|
||||
|
||||
CLcommand "${CMD}"
|
||||
rm -f __tmpsrcf.c
|
||||
if [ "${DEBUG}" = "*NONE" ]
|
||||
then rm -f "${1}"__819.c
|
||||
fi
|
||||
# shellcheck disable=SC2034
|
||||
LINK=YES
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user