comparison make/bsd/makefiles/gcc.make @ 11026:91acb82a8b7a

8014326: [OSX] All libjvm symbols are exported Summary: Add support for a MacOS X compatible form of the libjvm mapfile. Reviewed-by: dcubed, rdurbin, coleenp
author dholmes
date Wed, 19 Jun 2013 13:14:03 -0700
parents 2cb5d5f6d5e5
children e16282db4946
comparison
equal deleted inserted replaced
10988:cd54c7e92908 11026:91acb82a8b7a
1 # 1 #
2 # Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 1999, 2013, 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. 7 # published by the Free Software Foundation.
366 # 366 #
367 ifeq ($(OS_VENDOR), Darwin) 367 ifeq ($(OS_VENDOR), Darwin)
368 # Standard linker flags 368 # Standard linker flags
369 LFLAGS += 369 LFLAGS +=
370 370
371 # Darwin doesn't use ELF and doesn't support version scripts 371 # The apple linker has its own variant of mapfiles/version-scripts
372 LDNOMAP = true 372 MAPFLAG = -Xlinker -exported_symbols_list -Xlinker FILENAME
373 373
374 # Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj 374 # Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj
375 SONAMEFLAG = 375 SONAMEFLAG =
376 376
377 # Build shared library 377 # Build shared library