8181318: Allow C++ library headers on Solaris Studio
authoreosterlund
Wed, 14 Jun 2017 01:30:11 -0700
changeset 46539 c23c825bcfc2
parent 46538 44ea5e0f2901
child 46540 9c0aa7bc3fe3
8181318: Allow C++ library headers on Solaris Studio Summary: Allow studio to compile but not link against the stlport4 C++ standard library Reviewed-by: dholmes, dcubed, erikj
hotspot/make/lib/CompileDtracePostJvm.gmk
--- a/hotspot/make/lib/CompileDtracePostJvm.gmk	Wed Jun 14 17:33:54 2017 +0800
+++ b/hotspot/make/lib/CompileDtracePostJvm.gmk	Wed Jun 14 01:30:11 2017 -0700
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved.
 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 #
 # This code is free software; you can redistribute it and/or modify it
@@ -52,7 +52,7 @@
         CXX := $(BUILD_CXX), \
         LDEXE := $(BUILD_CXX), \
         generateJvmOffsets.cpp_CXXFLAGS := $(JVM_CFLAGS) -mt -xnolib -norunpath, \
-        generateJvmOffsetsMain.c_CFLAGS := -library=%none -mt -m64 -norunpath -z nodefs, \
+        generateJvmOffsetsMain.c_CFLAGS := -mt -m64 -norunpath -z nodefs, \
         LDFLAGS := -m64, \
         LIBS := -lc, \
         OBJECT_DIR := $(JVM_VARIANT_OUTPUTDIR)/tools/dtrace-gen-offsets/objs, \