OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* configure.ac: Change how LIBSUPCXX_PICFLAGS is set.
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
configure
diff --git
a/libstdc++-v3/configure
b/libstdc++-v3/configure
index
5506924
..
22f3e1a
100755
(executable)
--- a/
libstdc++-v3/configure
+++ b/
libstdc++-v3/configure
@@
-85067,10
+85067,8
@@
echo "${ECHO_T}$gxx_include_dir" >&6
-if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
- grep "enable shared" > /dev/null;
-then
- LIBSUPCXX_PICFLAGS=-prefer-pic
+if test "$enable_shared" = yes; then
+ LIBSUPCXX_PICFLAGS="-prefer-pic"
else
LIBSUPCXX_PICFLAGS=
fi
else
LIBSUPCXX_PICFLAGS=
fi