Follow-up Comment #4, sr #111210 (group libtool):

[comment #3 comment #3:]
> My suggestion above was actually meant for the NetBSD case only. My intention
> with this paragraph was to explicit the changes that I made in my initial
> patch, as it indeed suppresses the use of -nostdlib for NetBSD systems. Sorry
> if I was not clear enough, I did not mean to remove -nostdlib for all
> supported systems.
I made the option available for other systems since I have seen other bug
reports [1] requesting the removal of '-nostdlib'.

> This said, I have nothing against your new configuration option. Just note
> that in combination with my patch, this option will be ignored on NetBSD, as
> the linker command "archive_cmds" is overridden.
> Maybe the default could be made platform-specific and for instance default to
> "enable-cxx-stdlib=yes" on NetBSD?
I can update the configuration option patch to have the following:

@@ -3016,6 +3016,7 @@ netbsdelf*-gnu)
   shlibpath_overrides_runpath=no
   hardcode_into_libs=yes
   dynamic_linker='NetBSD ld.elf_so'
+  enable-cxx-stdlib=yes
   ;;
 
 netbsd*)
@@ -3034,6 +3035,7 @@ netbsd*)
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=yes
   hardcode_into_libs=yes
+  enable-cxx-stdlib=yes
   ;;
 
 *-mlibc)


[1]
https://savannah.gnu.org/support/index.php?111193?&func=detailitem&item_id=111193&#comment0


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/support/?111210>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to