< prev index next >

common/autoconf/spec.gmk.in

Print this page
rev 1735 : 8151841: Build needs additional flags to compile with GCC 6 [plus parts of 8149647 & 8032045]
Summary: C++ standard needs to be explicitly set and some optimisations turned off to build on GCC 6
Reviewed-by: erikj, dholmes, kbarrett


 314 C_O_FLAG_NONE:=@C_O_FLAG_NONE@
 315 CXX_O_FLAG_HIGHEST:=@CXX_O_FLAG_HIGHEST@
 316 CXX_O_FLAG_HI:=@CXX_O_FLAG_HI@
 317 CXX_O_FLAG_NORM:=@CXX_O_FLAG_NORM@
 318 CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@
 319 
 320 C_FLAG_DEPS:=@C_FLAG_DEPS@
 321 CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
 322 
 323 # Tools that potentially need to be cross compilation aware.
 324 CC:=@FIXPATH@ @CCACHE@ @CC@
 325 
 326 # CFLAGS used to compile the jdk native libraries (C-code)
 327 CFLAGS_JDKLIB:=@CFLAGS_JDKLIB@
 328 CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@
 329 
 330 # CFLAGS used to compile the jdk native launchers (C-code)
 331 CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@
 332 CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
 333 




 334 CXX:=@FIXPATH@ @CCACHE@ @CXX@
 335 #CXXFLAGS:=@CXXFLAGS@
 336 
 337 OBJC:=@CCACHE@ @OBJC@
 338 #OBJCFLAGS:=@OBJCFLAGS@
 339 
 340 CPP:=@FIXPATH@ @CPP@
 341 #CPPFLAGS:=@CPPFLAGS@
 342 
 343 # The linker can be gcc or ld on posix systems, or link.exe on windows systems.
 344 LD:=@FIXPATH@ @LD@
 345 
 346 ifeq ($(OPENJDK_TARGET_OS), macosx)
 347   # Xcode SDK and tools path
 348   SDKPATH:=@SDKPATH@
 349   @SET_DEVELOPER_DIR@
 350 endif
 351 
 352 # The linker on older SuSE distros (e.g. on SLES 10) complains with:
 353 # "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."




 314 C_O_FLAG_NONE:=@C_O_FLAG_NONE@
 315 CXX_O_FLAG_HIGHEST:=@CXX_O_FLAG_HIGHEST@
 316 CXX_O_FLAG_HI:=@CXX_O_FLAG_HI@
 317 CXX_O_FLAG_NORM:=@CXX_O_FLAG_NORM@
 318 CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@
 319 
 320 C_FLAG_DEPS:=@C_FLAG_DEPS@
 321 CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
 322 
 323 # Tools that potentially need to be cross compilation aware.
 324 CC:=@FIXPATH@ @CCACHE@ @CC@
 325 
 326 # CFLAGS used to compile the jdk native libraries (C-code)
 327 CFLAGS_JDKLIB:=@CFLAGS_JDKLIB@
 328 CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@
 329 
 330 # CFLAGS used to compile the jdk native launchers (C-code)
 331 CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@
 332 CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
 333 
 334 NO_DELETE_NULL_POINTER_CHECKS_CFLAG=@NO_DELETE_NULL_POINTER_CHECKS_CFLAG@
 335 NO_LIFETIME_DSE_CFLAG=@NO_LIFETIME_DSE_CFLAG@
 336 CXXSTD_CXXFLAG=@CXXSTD_CXXFLAG@
 337 
 338 CXX:=@FIXPATH@ @CCACHE@ @CXX@
 339 #CXXFLAGS:=@CXXFLAGS@
 340 
 341 OBJC:=@CCACHE@ @OBJC@
 342 #OBJCFLAGS:=@OBJCFLAGS@
 343 
 344 CPP:=@FIXPATH@ @CPP@
 345 #CPPFLAGS:=@CPPFLAGS@
 346 
 347 # The linker can be gcc or ld on posix systems, or link.exe on windows systems.
 348 LD:=@FIXPATH@ @LD@
 349 
 350 ifeq ($(OPENJDK_TARGET_OS), macosx)
 351   # Xcode SDK and tools path
 352   SDKPATH:=@SDKPATH@
 353   @SET_DEVELOPER_DIR@
 354 endif
 355 
 356 # The linker on older SuSE distros (e.g. on SLES 10) complains with:
 357 # "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."


< prev index next >