equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
41 ECC_JNI_SOLSPARC_FILTER := |
41 ECC_JNI_SOLSPARC_FILTER := |
42 ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc) |
42 ifeq ($(OPENJDK_TARGET_CPU_ARCH), sparc) |
43 ECC_JNI_SOLSPARC_FILTER := -xregs=no%appl |
43 ECC_JNI_SOLSPARC_FILTER := -xregs=no%appl |
44 endif |
44 endif |
45 |
45 |
46 $(eval $(call SetupNativeCompilation,BUILD_LIBSUNEC, \ |
46 $(eval $(call SetupNativeCompilation, BUILD_LIBSUNEC, \ |
47 LIBRARY := sunec, \ |
47 NAME := sunec, \ |
48 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
48 OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \ |
49 SRC := $(LIBSUNEC_SRC), \ |
49 SRC := $(LIBSUNEC_SRC), \ |
50 TOOLCHAIN := TOOLCHAIN_LINK_CXX, \ |
50 TOOLCHAIN := TOOLCHAIN_LINK_CXX, \ |
51 OPTIMIZATION := LOW, \ |
51 OPTIMIZATION := LOW, \ |
52 CFLAGS := $(filter-out $(ECC_JNI_SOLSPARC_FILTER), $(CFLAGS_JDKLIB)) \ |
52 CFLAGS := $(filter-out $(ECC_JNI_SOLSPARC_FILTER), $(CFLAGS_JDKLIB)) \ |