# 
#     Copyright (c) 2017-2018, NVIDIA CORPORATION.  All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto.  Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
# 

# Compiler Configurations for C++, GNU compatibility
#
set DEFLANGSTDLIB=stdc++;
set DEFCPPLIB=;
# -lgcc -lgcc_s moved to LC in localrc 
# to resolve _Unwind_Resume@@GCC_3.0 gcc 4.5 and above, and
# not conflict with komp
# EHFRAME handles --eh-frame-hdr
set ZCLIBS= $PGISTATICX $PGATM $PGIUNSTATICX ;
set NORMALSTDLIB=stdc++;
set GNUINC=$GPPDIR;
# can not debug with this: variable NEWPP2 is default(-x 123 0x400);
variable NEWPP2 is default();
append CPP2ARGS=$(NEWPP2);
append LDARGS=$(CPLUS64LDARGS);
set DEF_GNU_SOURCE=$ifn($DONT_USE_GNU_SOURCE,_GNU_SOURCE);
set DEF_PGCG_SOURCE=_PGCG_SOURCE;
set DEFCPPINCSUFF=CC_GNU;
#set DEFSTDINC=/usr/local/include $GCCINC $GCCDIR/include /usr/include;
set DEFSTDINC= ;
set DEFCPPINC=$NVOPTLINCDIR $OLDSTDINC $GPPDIR;
