Commit 437558e8 by Franz Sirl Committed by Franz Sirl

linux.h (CPLUSPLUS_CPP_SPEC): New.

        2001-06-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.

From-SVN: r43207
parent 52b55e7d
2001-06-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.
2001-06-11 Stan Shebs <shebs@apple.com> 2001-06-11 Stan Shebs <shebs@apple.com>
* darwin.c (darwin_encode_section_info): Rewrite to simplify * darwin.c (darwin_encode_section_info): Rewrite to simplify
......
...@@ -34,6 +34,12 @@ Boston, MA 02111-1307, USA. */ ...@@ -34,6 +34,12 @@ Boston, MA 02111-1307, USA. */
#undef CPP_OS_DEFAULT_SPEC #undef CPP_OS_DEFAULT_SPEC
#define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux)" #define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux)"
/* The GNU C++ standard library currently requires _GNU_SOURCE being
defined on glibc-based systems. This temporary hack accomplishes this,
it should go away as soon as libstdc++-v3 has a real fix. */
#undef CPLUSPLUS_CPP_SPEC
#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
#undef LINK_SHLIB_SPEC #undef LINK_SHLIB_SPEC
#define LINK_SHLIB_SPEC "%{shared:-shared} %{!shared: %{static:-static}}" #define LINK_SHLIB_SPEC "%{shared:-shared} %{!shared: %{static:-static}}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment