aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index d2c581d34..2647554ad 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -271,12 +271,10 @@ class Cmd
def ldflags
args = path_flags("-L", libpath)
case mode
- when :ld then args << '-headerpad_max_install_names'
- when :ccld then args << '-Wl,-headerpad_max_install_names'
- when :cxxld
- args << '-Wl,-headerpad_max_install_names'
- args << '-stdlib=libc++' if cccfg? 'g'
- args << '-stdlib=libstdc++' if cccfg? 'h'
+ when :ld
+ args << "-headerpad_max_install_names"
+ when :ccld, :cxxld
+ args << "-Wl,-headerpad_max_install_names"
end
args
end