diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-04 14:53:52 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-04 14:53:52 +0000 |
commit | afe3500db9a086e780e254e0b1eb180deb289c8e (patch) | |
tree | 82ff6cb4ad487fb3197b3201c544213d8c85879f /gcc/ada/mlib-tgt-hpux.adb | |
parent | 77829d1e7df88427a4a6280ddf62390aacae955b (diff) | |
download | gcc-afe3500db9a086e780e254e0b1eb180deb289c8e.tar.gz |
2004-10-04 Vincent Celier <celier@gnat.com>
* mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb,
mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb,
mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-mingw.adb,
mlib-tgt-vxworks.adb, mlib-tgt.adb (Build_Dynamic_Library): New
parameter Options_2.
* mlib-prj.ads, mlib-prj.adb (Build_Library): Call
Build_Dynamic_Library with an empty Options_2.
* mlib-utl.ads, mlib-utl.adb (Gcc): Parameter Options_2 has no
default anymore.
* makegpr.adb (Get_Imported_Directories.add): Remove trailing
directory separator, if any.
(Gprmake): Do not allow mains on the command line for library projects.
Do not attempt to link when the project is a library project.
(Library_Opts): New table to store Library_Options.
(Build_Library): If Library_Options is specified, pass these options
when building a shared library.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88490 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/mlib-tgt-hpux.adb')
-rw-r--r-- | gcc/ada/mlib-tgt-hpux.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/mlib-tgt-hpux.adb b/gcc/ada/mlib-tgt-hpux.adb index 4198f22317c..a438b762f6e 100644 --- a/gcc/ada/mlib-tgt-hpux.adb +++ b/gcc/ada/mlib-tgt-hpux.adb @@ -99,6 +99,7 @@ package body MLib.Tgt is Foreign : Argument_List; Afiles : Argument_List; Options : Argument_List; + Options_2 : Argument_List; Interfaces : Argument_List; Lib_Filename : String; Lib_Dir : String; @@ -147,6 +148,7 @@ package body MLib.Tgt is (Output_File => Lib_File, Objects => Ofiles, Options => Common_Options & Init_Fini.all, + Options_2 => Options_2, Driver_Name => Driver_Name); else @@ -157,6 +159,7 @@ package body MLib.Tgt is (Output_File => Lib_Version, Objects => Ofiles, Options => Common_Options & Version_Arg & Init_Fini.all, + Options_2 => Options_2, Driver_Name => Driver_Name); Symbolic_Link_Needed := Lib_Version /= Lib_File; @@ -165,6 +168,7 @@ package body MLib.Tgt is (Output_File => Lib_Dir & Directory_Separator & Lib_Version, Objects => Ofiles, Options => Common_Options & Version_Arg & Init_Fini.all, + Options_2 => Options_2, Driver_Name => Driver_Name); Symbolic_Link_Needed := Lib_Dir & Directory_Separator & Lib_Version /= Lib_File; |