mirror of https://github.com/encounter/SDL.git
imported two libtool mainstream commits 28fbcb6a and b55b1cc8
This commit is contained in:
parent
2c6a9c5194
commit
1c1f5c180f
|
@ -1068,7 +1068,7 @@ _LT_EOF
|
||||||
darwin1.*)
|
darwin1.*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
darwin*)
|
darwin*)
|
||||||
case ${MACOSX_DEPLOYMENT_TARGET},$host in
|
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
||||||
10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
|
10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -7081,8 +7081,20 @@ func_mode_link ()
|
||||||
prev=xcompiler
|
prev=xcompiler
|
||||||
continue
|
continue
|
||||||
;;
|
;;
|
||||||
|
# Solaris ld rejects as of 11.4. Refer to Oracle bug 22985199.
|
||||||
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
|
-pthread)
|
||||||
|
case $host in
|
||||||
|
*solaris2*) ;;
|
||||||
|
*)
|
||||||
|
case "$new_inherited_linker_flags " in
|
||||||
|
*" $arg "*) ;;
|
||||||
|
* ) func_append new_inherited_linker_flags " $arg" ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
continue
|
||||||
|
;;
|
||||||
|
-mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
|
||||||
|-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
|
|-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
|
||||||
func_append compiler_flags " $arg"
|
func_append compiler_flags " $arg"
|
||||||
func_append compile_command " $arg"
|
func_append compile_command " $arg"
|
||||||
|
|
|
@ -7124,7 +7124,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
|
||||||
darwin1.*)
|
darwin1.*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
darwin*)
|
darwin*)
|
||||||
case ${MACOSX_DEPLOYMENT_TARGET},$host in
|
case $MACOSX_DEPLOYMENT_TARGET,$host in
|
||||||
10.[012],*|,*powerpc*-darwin[5-8]*)
|
10.[012],*|,*powerpc*-darwin[5-8]*)
|
||||||
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in New Issue