Skip to content
This repository was archived by the owner on Mar 12, 2019. It is now read-only.

Commit eef8893

Browse files
Teddy Reedsjackman
authored andcommitted
ENV.cxx11: Do not use -stdlib=libc++ for Linuxbrew
Closes #63. Signed-off-by: Shaun Jackman <[email protected]>
1 parent 57cd82b commit eef8893

File tree

1 file changed

+1
-1
lines changed
  • Library/Homebrew/extend/ENV

1 file changed

+1
-1
lines changed

Library/Homebrew/extend/ENV/std.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def universal_binary
320320
def cxx11
321321
if compiler == :clang
322322
append "CXX", "-std=c++11"
323-
append "CXX", "-stdlib=libc++"
323+
append "CXX", "-stdlib=libc++" if OS.mac?
324324
elsif compiler =~ /gcc-(4\.(8|9)|5)/
325325
append "CXX", "-std=c++11"
326326
else

0 commit comments

Comments
 (0)