[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Don't use Cstd with Sun C++ compiler if stdcxx4 is explicitly sp
From: |
Petr Pavlu |
Subject: |
[PATCH] Don't use Cstd with Sun C++ compiler if stdcxx4 is explicitly specified. |
Date: |
Mon, 21 Mar 2011 22:20:35 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello,
if libtool detects Sun C++ compiler in _LT_SYS_HIDDEN_LIBDEPS it
adds '-library=Cstd -library=Crun' to $postdeps. There is an
extra check that prevents this behavior if CXX or CXXFLAGS
contain '-library=stlport4'. The attached patch adds a similar
check for '-library=stdcxx4'. I also noticed that using only
'-library=stlport4' (or '-library=stdcxx4') without
'-library=Crun' doesn't work for me (linkage problems) so I added
them explicitly too.
--
Petr Pavlu
0001-Don-t-use-Cstd-with-Sun-C-compiler-if-stdcxx4-is-exp.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] Don't use Cstd with Sun C++ compiler if stdcxx4 is explicitly specified.,
Petr Pavlu <=