Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
5a86722f
Commit
5a86722f
authored
3 years ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Switch lt CXX builds from explicit to implicit library dependencies.
parent
eb07f6f5
No related branches found
No related tags found
1 merge request
!14
Draft: K202125/cdi 1.8.x pio merge followup
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+4
-4
4 additions, 4 deletions
configure
m4/acx_use_libtool_configuration.m4
+3
-0
3 additions, 0 deletions
m4/acx_use_libtool_configuration.m4
with
7 additions
and
4 deletions
configure
+
4
−
4
View file @
5a86722f
...
...
@@ -15624,8 +15624,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# Check if GNU C++ uses GNU ld as the underlying linker, since the
# archiving commands below assume that GNU ld is being used.
if test yes = "$with_gnu_ld"; then
archive_cmds_CXX='$CC $pic_flag -shared
-nostdlib $predep_objects $libobjs $deplibs $postdep_object
s $compiler_flags $wl-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared
-nostdlib $predep_objects $libobjs $deplibs $postdep_object
s $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
archive_cmds_CXX='$CC $pic_flag -shared
$libobjs $deplib
s $compiler_flags $wl-soname $wl$soname -o $lib'
archive_expsym_cmds_CXX='$CC $pic_flag -shared
$libobjs $deplib
s $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
export_dynamic_flag_spec_CXX='$wl--export-dynamic'
...
...
@@ -15651,7 +15651,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
# linker, instead of GNU ld. If possible, this setting should
# overridden to take advantage of the native linker features on
# the platform it is being used on.
archive_cmds_CXX='$CC -shared
-nostdlib $predep_objects $libobjs $deplibs $postdep_object
s $compiler_flags -o $lib'
archive_cmds_CXX='$CC -shared
$libobjs $deplib
s $compiler_flags -o $lib'
fi
# Commands to make compiler produce verbose output that lists
...
...
@@ -16006,7 +16006,7 @@ fi
enable_shared_with_static_runtimes_CXX=yes
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
archive_cmds_CXX='$CC -shared
-nostdlib $predep_objects $libobjs $deplibs $postdep_object
s $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
archive_cmds_CXX='$CC -shared
$libobjs $deplib
s $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
# If the export-symbols file already is a .def file, use it as
# is; otherwise, prepend EXPORTS...
archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
This diff is collapsed.
Click to expand it.
m4/acx_use_libtool_configuration.m4
+
3
−
0
View file @
5a86722f
...
...
@@ -88,9 +88,12 @@ dnl newer PGI or NAG configurations particularly well
;;
*PGI\\ Compilers\\ and\\ Tools*|*NVIDIA\\ Compilers\\ and\\ Tools*|*Port][land\\ ])),[sed 5q`],[sed -n 1,5p`])),[pgcpp\*],[pgcpp* | pgc++* ]))dnl
m4_pushdef([_LT_LANG_CXX_CONFIG],
m4_bpatsubst(m4_dquote(
m4_bpatsubst(m4_dquote(
m4_bpatsubst(m4_dquote(m4_defn([_LT_LANG_CXX_CONFIG])),
[sed 5q`],[sed -n 1,5p`])),
[\$CC\( \$pic_flag\)? -shared -nostdlib \$predep_objects \$libobjs \$deplibs \$postdep_objects ],
[$CC\1 -shared $libobjs $deplibs ])),
[pgcpp\*],[pgcpp* | pgc++* ]))dnl
m4_pushdef([_LT_LINKER_SHLIBS],m4_bpatsubst(m4_dquote(
m4_bpatsubst(m4_dquote(m4_bpatsubst(m4_dquote(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment