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

Unified Diff: libtool.m4

Issue 6761001: Compile stdc++ library with both static and dynamic linking. (Closed) Base URL: http://git.chromium.org/git/nacl-gcc@master
Patch Set: Removed libstdc++ rename. Created 9 years, 9 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « libstdc++-v3/configure ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libtool.m4
diff --git a/libtool.m4 b/libtool.m4
index c17514b9260afe669041728788e9e41eef9a71f0..5f50db971a00a67bb6335d4095d878e489c89d75 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -2445,7 +2445,7 @@ 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
@@ -2487,7 +2487,9 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
# 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 | « libstdc++-v3/configure ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698