make/bsd/makefiles/gcc.make
Print this page
*** 1,7 ****
#
! # Copyright (c) 1999, 2011, 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
--- 1,7 ----
#
! # Copyright (c) 1999, 2013, 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
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
*** 245,256 ****
#
ifeq ($(OS_VENDOR), Darwin)
# Standard linker flags
LFLAGS +=
! # Darwin doesn't use ELF and doesn't support version scripts
! LDNOMAP = true
# Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj
SONAMEFLAG =
# Build shared library
--- 245,256 ----
#
ifeq ($(OS_VENDOR), Darwin)
# Standard linker flags
LFLAGS +=
! # The apple linker has its own variant of mapfiles/version-scripts
! MAPFLAG = -Xlinker -exported_symbols_list -Xlinker FILENAME
# Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj
SONAMEFLAG =
# Build shared library