21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 $(eval $(call IncludeCustomExtension, hotspot/lib/JvmOverrideFiles.gmk)) 27 28 ################################################################################ 29 # This file contains explicit overrides of CFLAGS and/or precompiled header 30 # status for individual files on specific platforms. 31 32 ifeq ($(TOOLCHAIN_TYPE), gcc) 33 BUILD_LIBJVM_vmStructs.cpp_CXXFLAGS := -fno-var-tracking-assignments -O0 34 BUILD_LIBJVM_jvmciCompilerToVM.cpp_CXXFLAGS := -fno-var-tracking-assignments 35 BUILD_LIBJVM_jvmciCompilerToVMInit.cpp_CXXFLAGS := -fno-var-tracking-assignments 36 BUILD_LIBJVM_assembler_x86.cpp_CXXFLAGS := -Wno-maybe-uninitialized 37 BUILD_LIBJVM_cardTableBarrierSetAssembler_x86.cpp_CXXFLAGS := -Wno-maybe-uninitialized 38 BUILD_LIBJVM_interp_masm_x86.cpp_CXXFLAGS := -Wno-uninitialized 39 endif 40 41 ifeq ($(OPENJDK_TARGET_OS), linux) 42 BUILD_LIBJVM_ostream.cpp_CXXFLAGS := -D_FILE_OFFSET_BITS=64 43 BUILD_LIBJVM_logFileOutput.cpp_CXXFLAGS := -D_FILE_OFFSET_BITS=64 44 45 ifeq ($(OPENJDK_TARGET_CPU_ARCH), x86) 46 BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := -DNO_PCH $(CXX_O_FLAG_NONE) 47 BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := -DNO_PCH $(CXX_O_FLAG_NONE) 48 49 ifeq ($(TOOLCHAIN_TYPE), clang) 50 JVM_PRECOMPILED_HEADER_EXCLUDE := \ 51 sharedRuntimeTrig.cpp \ 52 sharedRuntimeTrans.cpp \ 53 # 54 endif 55 endif 56 57 ifeq ($(OPENJDK_TARGET_CPU), x86) 58 # Performance measurements show that by compiling GC related code, we could 59 # significantly reduce the GC pause time on 32 bit Linux/Unix platforms by 60 # compiling without the PIC flag (-fPIC on linux). | 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 # or visit www.oracle.com if you need additional information or have any 23 # questions. 24 # 25 26 $(eval $(call IncludeCustomExtension, hotspot/lib/JvmOverrideFiles.gmk)) 27 28 ################################################################################ 29 # This file contains explicit overrides of CFLAGS and/or precompiled header 30 # status for individual files on specific platforms. 31 32 ifeq ($(TOOLCHAIN_TYPE), gcc) 33 BUILD_LIBJVM_vmStructs.cpp_CXXFLAGS := -fno-var-tracking-assignments -O0 34 BUILD_LIBJVM_jvmciCompilerToVM.cpp_CXXFLAGS := -fno-var-tracking-assignments 35 BUILD_LIBJVM_jvmciCompilerToVMInit.cpp_CXXFLAGS := -fno-var-tracking-assignments 36 BUILD_LIBJVM_assembler_x86.cpp_CXXFLAGS := -Wno-maybe-uninitialized 37 BUILD_LIBJVM_cardTableBarrierSetAssembler_x86.cpp_CXXFLAGS := -Wno-maybe-uninitialized 38 BUILD_LIBJVM_interp_masm_x86.cpp_CXXFLAGS := -Wno-uninitialized 39 endif 40 41 ifeq ($(TOOLCHAIN_TYPE), gcc) 42 BUILD_LIBJVM_vm_version_aarch32_2.cpp_CXXFLAGS := -fno-stack-protector 43 endif 44 45 ifeq ($(OPENJDK_TARGET_OS), linux) 46 BUILD_LIBJVM_ostream.cpp_CXXFLAGS := -D_FILE_OFFSET_BITS=64 47 BUILD_LIBJVM_logFileOutput.cpp_CXXFLAGS := -D_FILE_OFFSET_BITS=64 48 49 ifeq ($(OPENJDK_TARGET_CPU_ARCH), x86) 50 BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := -DNO_PCH $(CXX_O_FLAG_NONE) 51 BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := -DNO_PCH $(CXX_O_FLAG_NONE) 52 53 ifeq ($(TOOLCHAIN_TYPE), clang) 54 JVM_PRECOMPILED_HEADER_EXCLUDE := \ 55 sharedRuntimeTrig.cpp \ 56 sharedRuntimeTrans.cpp \ 57 # 58 endif 59 endif 60 61 ifeq ($(OPENJDK_TARGET_CPU), x86) 62 # Performance measurements show that by compiling GC related code, we could 63 # significantly reduce the GC pause time on 32 bit Linux/Unix platforms by 64 # compiling without the PIC flag (-fPIC on linux). |