diff options
author | Simon Warta <[email protected]> | 2015-07-17 15:38:34 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-21 20:08:05 +0200 |
commit | ccf161fe856bc5f4e9f1ed2a44906b49e6d70b39 (patch) | |
tree | 1473345317a2b1a77be01e84121a1e29e4f6ee0e | |
parent | 8e9d312b21ee1214db1998a0b0057a7d10477d42 (diff) |
Rename so_link_flags to so_link_commands
-rwxr-xr-x | configure.py | 20 | ||||
-rw-r--r-- | src/build-data/cc/clang.txt | 8 | ||||
-rw-r--r-- | src/build-data/cc/ekopath.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/gcc.txt | 8 | ||||
-rw-r--r-- | src/build-data/cc/hpcc.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/icc.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/msvc.txt | 8 | ||||
-rw-r--r-- | src/build-data/cc/pgi.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/sunstudio.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/xlc.txt | 4 |
10 files changed, 34 insertions, 34 deletions
diff --git a/configure.py b/configure.py index 1ae69d09c..d90f347ab 100755 --- a/configure.py +++ b/configure.py @@ -775,7 +775,7 @@ class ArchInfo(object): class CompilerInfo(object): def __init__(self, infofile): lex_me_harder(infofile, self, - ['so_link_flags', 'binary_link_command', 'mach_opt', 'mach_abi_linking', 'isa_flags'], + ['so_link_commands', 'binary_link_commands', 'mach_opt', 'mach_abi_linking', 'isa_flags'], { 'binary_name': None, 'linker_name': None, 'macro_name': None, @@ -801,10 +801,10 @@ class CompilerInfo(object): 'makefile_style': '' }) - self.so_link_flags = force_to_dict(self.so_link_flags) - self.binary_link_command = force_to_dict(self.binary_link_command) - self.mach_abi_linking = force_to_dict(self.mach_abi_linking) - self.isa_flags = force_to_dict(self.isa_flags) + self.so_link_commands = force_to_dict(self.so_link_commands) + self.binary_link_commands = force_to_dict(self.binary_link_commands) + self.mach_abi_linking = force_to_dict(self.mach_abi_linking) + self.isa_flags = force_to_dict(self.isa_flags) self.infofile = infofile self.mach_opt_flags = {} @@ -938,10 +938,10 @@ class CompilerInfo(object): search_for = [osname, 'default'] for s in search_for: - if s in self.so_link_flags: - return self.so_link_flags[s] + if s in self.so_link_commands: + return self.so_link_commands[s] - raise Exception("No library link command found for target '%s' in compiler settings '%s'. Searched for: %s" % + raise Exception("No shared library link command found for target '%s' in compiler settings '%s'. Searched for: %s" % (osname, self.infofile, ", ".join(search_for))) """ @@ -954,8 +954,8 @@ class CompilerInfo(object): search_for = [osname, 'default'] for s in search_for: - if s in self.binary_link_command: - return self.binary_link_command[s] + if s in self.binary_link_commands: + return self.binary_link_commands[s] raise Exception("No binary link command found for target '%s' in compiler settings '%s'. Searched for: %s" % (osname, self.infofile, ", ".join(search_for))) diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index d9de36dba..d2d2f9928 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -25,19 +25,19 @@ visibility_attribute '__attribute__((visibility("default")))' makefile_style gmake -<so_link_flags> +<so_link_commands> # The default works for GNU ld and several other Unix linkers default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)" darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)" -</so_link_flags> +</so_link_commands> -<binary_link_command> +<binary_link_commands> linux -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" linux-debug -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" default -> "$(LINKER)" default-debug -> "$(LINKER)" -</binary_link_command> +</binary_link_commands> <isa_flags> sse2 -> "-msse2" diff --git a/src/build-data/cc/ekopath.txt b/src/build-data/cc/ekopath.txt index 2390c3cd2..823eed7a9 100644 --- a/src/build-data/cc/ekopath.txt +++ b/src/build-data/cc/ekopath.txt @@ -21,9 +21,9 @@ shared_flags "-fPIC" makefile_style gmake -<so_link_flags> +<so_link_commands> default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)" -</so_link_flags> +</so_link_commands> <mach_opt> athlon -> "-mcpu=athlon" diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index c0cb258fb..225440a35 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -28,7 +28,7 @@ visibility_attribute '__attribute__((visibility("default")))' makefile_style gmake -<so_link_flags> +<so_link_commands> # The default works for GNU ld and several other Unix linkers default -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)" default-debug -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)" @@ -41,14 +41,14 @@ solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)" # AIX and OpenBSD don't use sonames at all aix -> "$(CXX) -shared -fPIC" openbsd -> "$(CXX) -shared -fPIC" -</so_link_flags> +</so_link_commands> -<binary_link_command> +<binary_link_commands> linux -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" linux-debug -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" default -> "$(LINKER)" default-debug -> "$(LINKER)" -</binary_link_command> +</binary_link_commands> <isa_flags> sse2 -> "-msse2" diff --git a/src/build-data/cc/hpcc.txt b/src/build-data/cc/hpcc.txt index 0e7f6b6ab..904e489c9 100644 --- a/src/build-data/cc/hpcc.txt +++ b/src/build-data/cc/hpcc.txt @@ -24,6 +24,6 @@ hppa1.1 -> "+DA1.1" hppa2.0 -> "+DA2.0W" </mach_abi_linking> -<so_link_flags> +<so_link_commands> default -> "$(CXX) +Z -b -Wl,+h,$(SONAME)" # Documented in cc(1), but not CC(1) (?) -</so_link_flags> +</so_link_commands> diff --git a/src/build-data/cc/icc.txt b/src/build-data/cc/icc.txt index 43b9a524e..f15d9eb9c 100644 --- a/src/build-data/cc/icc.txt +++ b/src/build-data/cc/icc.txt @@ -29,6 +29,6 @@ nehalem -> "-march=core2" westmere -> "-march=core2" </mach_opt> -<so_link_flags> +<so_link_commands> default -> "$(CXX) -fPIC -shared -Wl,-soname,$(SONAME)" -</so_link_flags> +</so_link_commands> diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt index 30b795a57..7a35f9648 100644 --- a/src/build-data/cc/msvc.txt +++ b/src/build-data/cc/msvc.txt @@ -35,15 +35,15 @@ clmul -> "" rdrand -> "" </isa_flags> -<so_link_flags> +<so_link_commands> default -> "$(LINKER) /DLL" default-debug -> "$(LINKER) /DLL /DEBUG" -</so_link_flags> +</so_link_commands> -<binary_link_command> +<binary_link_commands> default -> "$(LINKER)" default-debug -> "$(LINKER) /DEBUG" -</binary_link_command> +</binary_link_commands> <mach_abi_linking> all -> "/MD" diff --git a/src/build-data/cc/pgi.txt b/src/build-data/cc/pgi.txt index 3ef16c7df..50042388d 100644 --- a/src/build-data/cc/pgi.txt +++ b/src/build-data/cc/pgi.txt @@ -15,10 +15,10 @@ shared_flags "-fPIC" makefile_style gmake -<so_link_flags> +<so_link_commands> linux -> "$(CXX) -shared -fPIC -Wl,-soname,$(SONAME)" solaris -> "$(CXX) -G -fPIC -Wl,-h,$(SONAME)" -</so_link_flags> +</so_link_commands> <mach_opt> i586 -> "-tp p5" diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt index c8673a8c1..37998e859 100644 --- a/src/build-data/cc/sunstudio.txt +++ b/src/build-data/cc/sunstudio.txt @@ -20,9 +20,9 @@ ar_command "CC -xar -o" makefile_style gmake -<so_link_flags> +<so_link_commands> default -> "$(CXX) -G -h$(SONAME)" -</so_link_flags> +</so_link_commands> <mach_opt> i386 -> "-xtarget=486" diff --git a/src/build-data/cc/xlc.txt b/src/build-data/cc/xlc.txt index 78fda3198..68dc62582 100644 --- a/src/build-data/cc/xlc.txt +++ b/src/build-data/cc/xlc.txt @@ -23,6 +23,6 @@ power4 -> "-qarch=pwr4" power5 -> "-qarch=pwr5" </mach_opt> -<so_link_flags> +<so_link_commands> default -> "$(CXX) -qmkshrobj" -</so_link_flags> +</so_link_commands> |