Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(586)

Unified Diff: libstdc++-v3/configure

Side-by-side diff isn't available for this file because of its large size.
Issue 6761001: Compile stdc++ library with both static and dynamic linking. (Closed) Base URL: http://git.chromium.org/git/nacl-gcc@master
Patch Set: Added the second file Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « no previous file | libtool.m4 » ('j') | libtool.m4 » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libstdc++-v3/configure
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index a4a4fae664660c2d5e1b22ac1392777e19f13faf..564154264b58aec3049bfc341f1ea1fed3cf52bb 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -10170,11 +10170,15 @@ linux*oldld* | linux*aout* | linux*coff*)
;;
# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+nacl* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
version_type=linux
need_lib_prefix=no
need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ if [ $host_os == 'nacl' ] ; then
+ library_names_spec='${libname}${release}-${versuffix:1}${shared_ext} ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ fi
soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH
@@ -10266,7 +10270,9 @@ fi
# most powerpc-linux boxes support dynamic linking these days and
# people can always --disable-shared, the test was removed, and we
# assume the GNU/Linux dynamic linker is in use.
- dynamic_linker='GNU/Linux ld.so'
+ if [ $host_os != 'nacl' ] ; then
+ dynamic_linker='GNU/Linux ld.so'
+ fi
;;
netbsd*)
@@ -14096,11 +14102,15 @@ linux*oldld* | linux*aout* | linux*coff*)
;;
# This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+nacl* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
version_type=linux
need_lib_prefix=no
need_version=no
- library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ if [ $host_os == 'nacl' ] ; then
+ library_names_spec='${libname}${release}-${versuffix:1}${shared_ext} ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ else
+ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
+ fi
soname_spec='${libname}${release}${shared_ext}$major'
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
shlibpath_var=LD_LIBRARY_PATH
@@ -14192,7 +14202,9 @@ fi
# most powerpc-linux boxes support dynamic linking these days and
# people can always --disable-shared, the test was removed, and we
# assume the GNU/Linux dynamic linker is in use.
- dynamic_linker='GNU/Linux ld.so'
+ if [ $host_os != 'nacl' ] ; then
+ dynamic_linker='GNU/Linux ld.so'
+ fi
;;
netbsd*)
« no previous file with comments | « no previous file | libtool.m4 » ('j') | libtool.m4 » ('J')

Powered by Google App Engine
This is Rietveld 408576698