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

Unified Diff: libgfortran/configure

Issue 8423042: Fix libgfortran shared library for NaCl. (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: Removed duplication from libobjc/configure Created 9 years, 1 month 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 | libobjc/configure » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libgfortran/configure
diff --git a/libgfortran/configure b/libgfortran/configure
index caa7e59fd9c40e90fb28ee868e96001bf98b6f82..076c24943311a1ec6fb022d5659ee0128abca663 100755
--- a/libgfortran/configure
+++ b/libgfortran/configure
@@ -9532,6 +9532,21 @@ 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.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
version_type=linux
@@ -13771,6 +13786,21 @@ 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.
linux* | k*bsd*-gnu | kopensolaris*-gnu)
version_type=linux
« no previous file with comments | « no previous file | libobjc/configure » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698