Commit 655ae828 by Iain Sandoe

ada, remove flat_namespace library option from darwin port build/defaults :

	* gcc-interface/Makefile.in (darwin): Do not issue the
	'-flat_namespace' linker flag during Ada build.
	* mlib-tgt-specific-darwin.adb: Remove '-flat_namespace' flag from the
	default shared library options.

From-SVN: r179148
parent ae0d176c
2011-09-24 Iain Sandoe <iains@gcc.gnu.org>
* gcc-interface/Makefile.in (darwin): Do not issue the
'-flat_namespace' linker flag during Ada build.
* mlib-tgt-specific-darwin.adb: Remove '-flat_namespace' flag from the
default shared library options.
2011-09-19 Alexandre Oliva <aoliva@redhat.com>
* gcc-interface/decl.c (annotate_value): Look up expression for
......
......@@ -2164,7 +2164,7 @@ ifeq ($(strip $(filter-out %x86_64 linux%,$(arch) $(osys))),)
endif
ifeq ($(strip $(filter-out darwin%,$(osys))),)
SO_OPTS = -Wl,-flat_namespace -shared-libgcc
SO_OPTS = -shared-libgcc
ifeq ($(strip $(filter-out %86,$(arch))),)
LIBGNAT_TARGET_PAIRS = \
a-intnam.ads<a-intnam-darwin.ads \
......
......@@ -57,15 +57,10 @@ package body MLib.Tgt.Specific is
-- Local objects
Flat_Namespace : aliased String := "-Wl,-flat_namespace";
-- Instruct the linker to build the shared library as a flat
-- namespace image. The default is a two-level namespace image.
Shared_Libgcc : aliased String := "-shared-libgcc";
Shared_Options : constant Argument_List :=
(1 => Flat_Namespace'Access,
2 => Shared_Libgcc'Access);
(1 => Shared_Libgcc'Access);
-----------------------------
-- Archive_Indexer_Options --
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment