4334 # definitions. It is replaced with custom functionality when building |
4335 # definitions. It is replaced with custom functionality when building |
4335 # custom sources. |
4336 # custom sources. |
4336 #CUSTOM_AUTOCONF_INCLUDE |
4337 #CUSTOM_AUTOCONF_INCLUDE |
4337 |
4338 |
4338 # Do not change or remove the following line, it is needed for consistency checks: |
4339 # Do not change or remove the following line, it is needed for consistency checks: |
4339 DATE_WHEN_GENERATED=1535545082 |
4340 DATE_WHEN_GENERATED=1537356874 |
4340 |
4341 |
4341 ############################################################################### |
4342 ############################################################################### |
4342 # |
4343 # |
4343 # Initialization / Boot-strapping |
4344 # Initialization / Boot-strapping |
4344 # |
4345 # |
41206 CXX_FLAG_DEPS="$C_FLAG_DEPS" |
41207 CXX_FLAG_DEPS="$C_FLAG_DEPS" |
41207 |
41208 |
41208 |
41209 |
41209 |
41210 |
41210 # Debug symbols |
41211 # Debug symbols |
|
41212 # |
|
41213 # By default don't set any specific assembler debug |
|
41214 # info flags for toolchains unless we know they work. |
|
41215 # See JDK-8207057. |
|
41216 ASFLAGS_DEBUG_SYMBOLS="" |
41211 if test "x$TOOLCHAIN_TYPE" = xgcc; then |
41217 if test "x$TOOLCHAIN_TYPE" = xgcc; then |
41212 if test "x$OPENJDK_TARGET_CPU_BITS" = "x64" && test "x$DEBUG_LEVEL" = "xfastdebug"; then |
41218 if test "x$OPENJDK_TARGET_CPU_BITS" = "x64" && test "x$DEBUG_LEVEL" = "xfastdebug"; then |
41213 CFLAGS_DEBUG_SYMBOLS="-g1" |
41219 CFLAGS_DEBUG_SYMBOLS="-g1" |
41214 CXXFLAGS_DEBUG_SYMBOLS="-g1" |
41220 CXXFLAGS_DEBUG_SYMBOLS="-g1" |
41215 else |
41221 else |
41216 CFLAGS_DEBUG_SYMBOLS="-g" |
41222 CFLAGS_DEBUG_SYMBOLS="-g" |
41217 CXXFLAGS_DEBUG_SYMBOLS="-g" |
41223 CXXFLAGS_DEBUG_SYMBOLS="-g" |
41218 fi |
41224 fi |
|
41225 ASFLAGS_DEBUG_SYMBOLS="-g" |
41219 elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then |
41226 elif test "x$TOOLCHAIN_TYPE" = xsolstudio; then |
41220 CFLAGS_DEBUG_SYMBOLS="-g -xs" |
41227 CFLAGS_DEBUG_SYMBOLS="-g -xs" |
41221 CXXFLAGS_DEBUG_SYMBOLS="-g0 -xs" |
41228 CXXFLAGS_DEBUG_SYMBOLS="-g0 -xs" |
41222 elif test "x$TOOLCHAIN_TYPE" = xxlc; then |
41229 elif test "x$TOOLCHAIN_TYPE" = xxlc; then |
41223 CFLAGS_DEBUG_SYMBOLS="-g" |
41230 CFLAGS_DEBUG_SYMBOLS="-g" |
41224 CXXFLAGS_DEBUG_SYMBOLS="-g" |
41231 CXXFLAGS_DEBUG_SYMBOLS="-g" |
41225 fi |
41232 fi |
|
41233 |
41226 |
41234 |
41227 |
41235 |
41228 |
41236 |
41229 # Optimization levels |
41237 # Optimization levels |
41230 if test "x$TOOLCHAIN_TYPE" = xsolstudio; then |
41238 if test "x$TOOLCHAIN_TYPE" = xsolstudio; then |