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

Unified Diff: libtool.m4

Issue 6813007: Fix build regression in commit 18fae96 (Closed) Base URL: http://git.chromium.org/git/nacl-gcc@master
Patch Set: 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:
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 5f50db971a00a67bb6335d4095d878e489c89d75..e3c0a175ff8823bea7b0970d70c1d9c0280548a3 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -2444,8 +2444,23 @@ linux*oldld* | linux*aout* | linux*coff*)
dynamic_linker=no
;;
+nacl*)
+ 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}'
+ soname_spec='${libname}${release}${shared_ext}$major'
+ shlibpath_var=LD_LIBRARY_PATH
+ shlibpath_overrides_runpath=no
+
+ # This implies no fast_install, which is unacceptable.
+ # Some rework will be needed to allow for fast_install
+ # before this can be enabled.
+ hardcode_into_libs=yes
+ ;;
+
# This must be Linux ELF.
-nacl* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu)
version_type=linux
need_lib_prefix=no
need_version=no
@@ -2487,9 +2502,7 @@ nacl* | 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.
- if [ $host_os != 'nacl' ] ; then
- dynamic_linker='GNU/Linux ld.so'
- fi
+ dynamic_linker='GNU/Linux ld.so'
;;
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