changeset 10531:78b879b0ebe0

- Use OPENJDK_TARGET_OS_VENDOR instead of uname -s
author kurt
date Sat, 16 May 2015 12:18:23 -0400
parents ea952d82da2b
children 7dc4b05dd9fd
files make/lib/NioLibraries.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/lib/NioLibraries.gmk	Mon May 11 10:40:22 2015 -0400
+++ b/make/lib/NioLibraries.gmk	Sat May 16 12:18:23 2015 -0400
@@ -188,7 +188,7 @@
 ifeq ($(OPENJDK_TARGET_OS_API), posix)
 
   ifeq (, $(filter $(OPENJDK_TARGET_OS), macosx aix))
-  ifeq (, $(filter $(shell uname -s), NetBSD OpenBSD))
+  ifeq (, $(filter $(OPENJDK_TARGET_OS_VENDOR), netbsd openbsd))
 
     # Suppress unused parameters required by exported JNI functions.
     SCTP_WERROR := -Werror -Wno-error=unused-parameter