20 # or visit www.oracle.com if you need additional information or have any |
20 # or visit www.oracle.com if you need additional information or have any |
21 # questions. |
21 # questions. |
22 # |
22 # |
23 # |
23 # |
24 |
24 |
25 # The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized |
25 # If FDLIBM_CFLAGS is non-empty it holds CFLAGS needed to be passed to |
26 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT) |
26 # the compiler so as to be able to produce optimized objects |
|
27 # without losing precision. |
|
28 ifneq ($(FDLIBM_CFLAGS),) |
|
29 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/SPEED) $(FDLIBM_CFLAGS) |
|
30 OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/SPEED) $(FDLIBM_CFLAGS) |
|
31 else |
|
32 OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT) |
|
33 OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT) |
|
34 endif |
27 |
35 |
28 # Must also specify if CPU is big endian |
36 # Must also specify if CPU is big endian |
29 CFLAGS += -DVM_BIG_ENDIAN |
37 CFLAGS += -DVM_BIG_ENDIAN |
30 |
38 |