make/hotspot/lib/CompileLibjsig.gmk
changeset 47264 8b5ed0358b3a
parent 47217 72e3ae9a25eb
child 47765 b7c7428eaab9
equal deleted inserted replaced
47262:bbbf1b1e36e9 47264:8b5ed0358b3a
     1 #
     1 #
     2 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2013, 2017, 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
    34 
    34 
    35 ifneq ($(OPENJDK_TARGET_OS), windows)
    35 ifneq ($(OPENJDK_TARGET_OS), windows)
    36   ifeq ($(STATIC_BUILD), false)
    36   ifeq ($(STATIC_BUILD), false)
    37     ifeq ($(OPENJDK_TARGET_OS), linux)
    37     ifeq ($(OPENJDK_TARGET_OS), linux)
    38       LIBJSIG_CFLAGS := -fPIC -D_GNU_SOURCE -D_REENTRANT $(EXTRA_CFLAGS)
    38       LIBJSIG_CFLAGS := -fPIC -D_GNU_SOURCE -D_REENTRANT $(EXTRA_CFLAGS)
    39       LIBJSIG_LDFLAGS := $(LDFLAGS_HASH_STYLE) $(EXTRA_CFLAGS)
    39       LIBJSIG_LDFLAGS := $(LDFLAGS_HASH_STYLE) ${LDFLAGS_NO_EXEC_STACK} $(EXTRA_CFLAGS)
    40       LIBJSIG_LIBS := $(LIBDL)
    40       LIBJSIG_LIBS := $(LIBDL)
    41 
    41 
    42       # NOTE: The old build compiled this library without -soname.
    42       # NOTE: The old build compiled this library without -soname.
    43       # To emulate this, we need to clear out SET_SHARED_LIBRARY_NAME.
    43       # To emulate this, we need to clear out SET_SHARED_LIBRARY_NAME.
    44       SET_SHARED_LIBRARY_NAME :=
    44       SET_SHARED_LIBRARY_NAME :=