Skip to content

Commit

Permalink
z/OS: Add -g1 to include debug symbols which should have minimal perf…
Browse files Browse the repository at this point in the history
…ormance impact and improve serviceability, remove COMPACT/COMPRESS to avoid conflicts with -g, and add _CXX_CXXSUFFIX=cpp to support newer XL C++
  • Loading branch information
kgibm authored and mattcolegate committed Feb 22, 2021
1 parent 2ac37f5 commit f7ebe20
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mz64.mk
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#include makefile for z/OS
PLATFORM=_ZOS
PORTDIR=zos
CC=c++
GCC=c++
ASM=c89 -Wa,list -Wc,"langlvl(extc99)" -o"$@" -DIPv6_FUNCTION_SUPPORT -DLONGLONG -D_ALL_SOURCE -D_XOPEN_SOURCE_EXTENDED -DIBM_ATOE -D_POSIX_SOURCE -O3 -Wc,ARCH\(5\) -Wc,TUNE\(9\) -Wl,compat=ZOSV1R13 -Wc,xplink,convlit\(ISO8859-1\),rostring,FLOAT\(IEEE,FOLD,AFP\),enum\(4\) -Wa,goff -Wc,NOANSIALIAS -Wc,inline\(auto,noreport,600,5000\) -Wc,TARGET\(zOSV1R13\) -W "c,list,offset" -Wc,lp64 -Wa,SYSPARM\(BIT64\) -Wc,DLL,EXPORTALL -DUT_DIRECT_TRACE_REGISTRATION -DTR_HOST_S390 -c
CC=_CXX_CXXSUFFIX=cpp c++
GCC=_CXX_CXXSUFFIX=cpp c++
ASM=c89 -g1 -Wa,list -Wc,"langlvl(extc99)" -o"$@" -DIPv6_FUNCTION_SUPPORT -DLONGLONG -D_ALL_SOURCE -D_XOPEN_SOURCE_EXTENDED -DIBM_ATOE -D_POSIX_SOURCE -O3 -Wc,ARCH\(5\) -Wc,TUNE\(9\) -Wl,compat=ZOSV1R13 -Wc,xplink,convlit\(ISO8859-1\),rostring,FLOAT\(IEEE,FOLD,AFP\),enum\(4\) -Wa,goff -Wc,NOANSIALIAS -Wc,inline\(auto,noreport,600,5000\) -Wc,TARGET\(zOSV1R13\) -W "c,list,offset" -Wc,lp64 -Wa,SYSPARM\(BIT64\) -Wc,DLL,EXPORTALL -DUT_DIRECT_TRACE_REGISTRATION -DTR_HOST_S390 -c
ASM_OBJS= ${COMMON_OUT}/zos_switch_from_ifa.o ${COMMON_OUT}/zos_switch_to_ifa.o
LINK=c++
LINK_OPT= -Wl,lp64,dll,xplink
LINK_OPT= -g1 -Wl,lp64,dll,xplink
LD_OPT=
OBJOPT=-o"$@"
ARCHIVE=ar -r
ARC_EXT=a
CFLAGS= -D_64BIT -D__BIG_ENDIAN -c -O2 -Wc,lp64,warn64,expo -Wc,"LANG(EXTENDED),COMPACT,COMPRESS,NOCONVLIT" -DREVERSED -DIBMRAS_DEBUG_LOGGING
CFLAGS= -g1 -D_64BIT -D__BIG_ENDIAN -c -O2 -Wc,lp64,warn64,expo -Wc,"LANG(EXTENDED),NOCONVLIT" -DREVERSED -DIBMRAS_DEBUG_LOGGING
LIB_EXT=so
EXE_EXT=
LIBFLAGS=
Expand Down

0 comments on commit f7ebe20

Please sign in to comment.