• Home
  • Raw
  • Download

Lines Matching +full:- +full:wl

5 #   Copyright 1996-2014 Free Software Foundation, Inc.
14 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
16 # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
23 # - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
34 host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
35 host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
36 host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
44 \-*) ;;
48 cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
52 wl=
54 wl='-Wl,'
58 wl='-Wl,'
63 wl='-Wl,'
66 wl='-Wl,'
68 linux* | k*bsd*-gnu | kopensolaris*-gnu)
71 wl='-Wl,'
74 wl='-Wl,'
77 wl='-Wl,'
80 wl='-Wl,-Wl,,'
83 wl='-Wl,'
86 wl='-Wl,'
89 wl='-Wl,'
92 wl='-lopt='
95 case `$CC -V 2>&1 | sed 5q` in
97 wl=
100 wl='-Wl,'
111 wl='-Wl,'
118 wl='-Qoption ld '
121 wl='-Wl,'
126 wl='-Qoption ld '
129 wl='-Wl,'
134 wl='-Wl,'
137 wl='-Wl,'
174 # Unlike libtool, we use -rpath here, not --rpath, since the documented
175 # option of GNU ld is called -rpath, not --rpath.
176 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
178 aix[3-9]*)
189 hardcode_libdir_flag_spec='-L$libdir'
195 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
204 hardcode_libdir_flag_spec='-L$libdir'
205 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
213 interix[3-9]*)
215 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
217 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
218 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
227 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
229 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
236 case `$LD -v 2>&1` in
237 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
241 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
242 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
253 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
267 # are no directories specified by -L.
275 aix[4-9]*)
283 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
285 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
287 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
299 collect2name=`${CC} -print-prog-name=collect2`
300 if test -f "$collect2name" && \
309 hardcode_libdir_flag_spec='-L$libdir'
317 ${CC} ${LDFLAGS} conftest.c -o conftest
318 …aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *…
320 if test -z "$aix_libpath"; then
321 …aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0…
324 if test -z "$aix_libpath"; then
327 rm -f conftest.c conftest
330 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
333 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
335 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
344 hardcode_libdir_flag_spec='-L$libdir'
368 hardcode_libdir_flag_spec='-L$libdir'
375 hardcode_libdir_flag_spec='-R$libdir'
379 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
388 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
398 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
414 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
418 hardcode_libdir_flag_spec='-R$libdir'
423 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
429 if test -f /usr/libexec/ld.so; then
431 …if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-p…
432 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
435 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
436 hardcode_libdir_flag_spec='-R$libdir'
439 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
448 hardcode_libdir_flag_spec='-L$libdir'
452 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
457 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
459 # Both cc and cxx compiler support -rpath directly
460 hardcode_libdir_flag_spec='-rpath $libdir'
465 hardcode_libdir_flag_spec='-R$libdir'
468 hardcode_libdir_flag_spec='-L$libdir'
488 if test -d /usr/nec; then
495 hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
499 hardcode_libdir_flag_spec='-L$libdir'
510 # only about the one the linker finds when passed -lNAME. This is the last
519 aix[4-9]*)
573 interix[3-9]*)
584 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
585 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
586 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
594 linux* | k*bsd*-gnu | kopensolaris*-gnu)
597 knetbsd*-gnu)
646 escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
647 shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
648 escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
649 escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
650 escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_qu…
652 LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
655 wl="$escaped_wl"
666 # Library names that the linker finds when passed -lNAME.
673 # Whether we need a single -rpath flag with a separated argument.
680 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the