1 # |
1 # |
2 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2015, 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 |
67 EXCLUDE_FILES := $(BUILD_LIBNIO_EXFILES), \ |
67 EXCLUDE_FILES := $(BUILD_LIBNIO_EXFILES), \ |
68 LANG := C, \ |
68 LANG := C, \ |
69 OPTIMIZATION := HIGH, \ |
69 OPTIMIZATION := HIGH, \ |
70 CFLAGS := $(CFLAGS_JDKLIB) \ |
70 CFLAGS := $(CFLAGS_JDKLIB) \ |
71 $(BUILD_LIBNIO_CFLAGS), \ |
71 $(BUILD_LIBNIO_CFLAGS), \ |
|
72 DISABLED_WARNINGS_gcc := type-limits, \ |
|
73 DISABLED_WARNINGS_clang := tautological-compare, \ |
|
74 DISABLED_WARNINGS_microsoft := 4244, \ |
72 MAPFILE := $(BUILD_LIBNIO_MAPFILE), \ |
75 MAPFILE := $(BUILD_LIBNIO_MAPFILE), \ |
73 LDFLAGS := $(LDFLAGS_JDKLIB) $(BUILD_LIBNIO_LDFLAGS) \ |
76 LDFLAGS := $(LDFLAGS_JDKLIB) $(BUILD_LIBNIO_LDFLAGS) \ |
74 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
77 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
75 LDFLAGS_SUFFIX_linux := -ljava -lnet -lpthread $(LIBDL), \ |
78 LDFLAGS_SUFFIX_linux := -ljava -lnet -lpthread $(LIBDL), \ |
76 LDFLAGS_SUFFIX_aix := -ljava -lnet $(LIBDL),\ |
79 LDFLAGS_SUFFIX_aix := -ljava -lnet $(LIBDL),\ |