X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=ltcf-cxx.sh;h=48d5a53f2f7d9b919bc9bf01e8f17017330043bf;hb=52c2a30751c74e52a07a2905cd875994db2803a8;hp=ce28177ee11b86a3d66798e743ab77e1aeb043fa;hpb=a2718648919e464dcbb576267062f5a157076122;p=pf3gnuchains%2Fgcc-fork.git diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index ce28177ee11..48d5a53f2f7 100644 --- a/ltcf-cxx.sh +++ b/ltcf-cxx.sh @@ -254,7 +254,8 @@ case $host_os in ;; esac output_verbose_link_cmd='echo' - archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' + + archive_cmds='$CXX -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, @@ -264,7 +265,6 @@ case $host_os in hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported - whole_archive_flag_spec='-all_load $convenience' link_all_deplibs=yes ;; @@ -697,6 +697,9 @@ case $host_os in ;; esac ;; + tpf*) + ld_shlibs=yes + ;; unixware*) # FIXME: insert proper C++ library support ld_shlibs=no