|
1 | 1 | #
|
2 |
| -# Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved. |
| 2 | +# Copyright (c) 2013, 2025, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
4 | 4 | #
|
5 | 5 | # This code is free software; you can redistribute it and/or modify it
|
@@ -52,15 +52,23 @@ ifneq ($(FDLIBM_CFLAGS), )
|
52 | 52 | endif
|
53 | 53 |
|
54 | 54 | ifeq ($(call isTargetOs, linux), true)
|
55 |
| - BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := -DNO_PCH $(FDLIBM_CFLAGS) $(LIBJVM_FDLIBM_COPY_OPT_FLAG) |
56 |
| - BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := -DNO_PCH $(FDLIBM_CFLAGS) $(LIBJVM_FDLIBM_COPY_OPT_FLAG) |
| 55 | + BUILD_LIBJVM_sharedRuntimeTrig.cpp_CXXFLAGS := $(FDLIBM_CFLAGS) $(LIBJVM_FDLIBM_COPY_OPT_FLAG) |
| 56 | + BUILD_LIBJVM_sharedRuntimeTrans.cpp_CXXFLAGS := $(FDLIBM_CFLAGS) $(LIBJVM_FDLIBM_COPY_OPT_FLAG) |
57 | 57 |
|
58 | 58 | ifeq ($(TOOLCHAIN_TYPE), clang)
|
59 | 59 | JVM_PRECOMPILED_HEADER_EXCLUDE := \
|
60 |
| - sharedRuntimeTrig.cpp \ |
61 |
| - sharedRuntimeTrans.cpp \ |
| 60 | + sharedRuntimeTrig.cpp \ |
| 61 | + sharedRuntimeTrans.cpp \ |
| 62 | + $(OPT_SPEED_SRC) \ |
| 63 | + # |
| 64 | + endif |
| 65 | + |
| 66 | + ifeq ($(call isTargetCpu, ppc64le)+$(TOOLCHAIN_TYPE), true+gcc) |
| 67 | + JVM_PRECOMPILED_HEADER_EXCLUDE := \ |
| 68 | + sharedRuntimeTrig.cpp \ |
| 69 | + sharedRuntimeTrans.cpp \ |
62 | 70 | $(OPT_SPEED_SRC) \
|
63 |
| - # |
| 71 | + # |
64 | 72 | endif
|
65 | 73 |
|
66 | 74 | ifeq ($(call isTargetCpu, x86), true)
|
|
0 commit comments