mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
configure: Fix setting of CLDFLAGS default
This commit is contained in:
parent
9b63f59016
commit
4a3e707402
6
configure
vendored
6
configure
vendored
@ -3077,7 +3077,7 @@ if test -z "$CFLAGS"; then :
|
|||||||
fi
|
fi
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
linux*)
|
linux*)
|
||||||
CLDFLAGS="${CLDFLAGS:"$LDFLAGS"} -Wl,--version-script,.export.sym"
|
CLDFLAGS="${CLDFLAGS-"$LDFLAGS"} -Wl,--version-script,.export.sym"
|
||||||
# equivalent to -rdynamic
|
# equivalent to -rdynamic
|
||||||
ELDFLAGS="-Wl,--export-dynamic"
|
ELDFLAGS="-Wl,--export-dynamic"
|
||||||
# FIXME Generate list and use --dynamic-list=.dlopen.sym
|
# FIXME Generate list and use --dynamic-list=.dlopen.sym
|
||||||
@ -3098,7 +3098,7 @@ case "$host_os" in
|
|||||||
;;
|
;;
|
||||||
darwin*)
|
darwin*)
|
||||||
CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
|
CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
|
||||||
CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
|
CLDFLAGS="${CLDFLAGS-"$LDFLAGS"}"
|
||||||
ELDFLAGS=
|
ELDFLAGS=
|
||||||
CLDWHOLEARCHIVE="-all_load"
|
CLDWHOLEARCHIVE="-all_load"
|
||||||
CLDNOWHOLEARCHIVE=
|
CLDNOWHOLEARCHIVE=
|
||||||
@ -3111,7 +3111,7 @@ case "$host_os" in
|
|||||||
BLKDEACTIVATE=no
|
BLKDEACTIVATE=no
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
|
CLDFLAGS="${CLDFLAGS-"$LDFLAGS"}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ AC_CANONICAL_TARGET([])
|
|||||||
AS_IF([test -z "$CFLAGS"], [COPTIMISE_FLAG="-O2"])
|
AS_IF([test -z "$CFLAGS"], [COPTIMISE_FLAG="-O2"])
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
linux*)
|
linux*)
|
||||||
CLDFLAGS="${CLDFLAGS:"$LDFLAGS"} -Wl,--version-script,.export.sym"
|
CLDFLAGS="${CLDFLAGS-"$LDFLAGS"} -Wl,--version-script,.export.sym"
|
||||||
# equivalent to -rdynamic
|
# equivalent to -rdynamic
|
||||||
ELDFLAGS="-Wl,--export-dynamic"
|
ELDFLAGS="-Wl,--export-dynamic"
|
||||||
# FIXME Generate list and use --dynamic-list=.dlopen.sym
|
# FIXME Generate list and use --dynamic-list=.dlopen.sym
|
||||||
@ -51,7 +51,7 @@ case "$host_os" in
|
|||||||
;;
|
;;
|
||||||
darwin*)
|
darwin*)
|
||||||
CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
|
CFLAGS="$CFLAGS -no-cpp-precomp -fno-common"
|
||||||
CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
|
CLDFLAGS="${CLDFLAGS-"$LDFLAGS"}"
|
||||||
ELDFLAGS=
|
ELDFLAGS=
|
||||||
CLDWHOLEARCHIVE="-all_load"
|
CLDWHOLEARCHIVE="-all_load"
|
||||||
CLDNOWHOLEARCHIVE=
|
CLDNOWHOLEARCHIVE=
|
||||||
@ -64,7 +64,7 @@ case "$host_os" in
|
|||||||
BLKDEACTIVATE=no
|
BLKDEACTIVATE=no
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
CLDFLAGS="${CLDFLAGS:"$LDFLAGS"}"
|
CLDFLAGS="${CLDFLAGS-"$LDFLAGS"}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user