]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++.
authorSteve Ellcey <sje@gcc.gnu.org>
Wed, 25 Oct 2006 23:03:33 +0000 (23:03 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Wed, 25 Oct 2006 23:03:33 +0000 (23:03 +0000)
* config/ia64/hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++.
Add unix98.o to link line.

From-SVN: r118048

gcc/config/ia64/hpux.h

index 1618eb892b069e14861ed303f26bf140626d7040..6da1532959b33e4e929929e340f7a779a58e9312 100644 (file)
@@ -53,6 +53,7 @@ do {                                                  \
            builtin_define("_HPUX_SOURCE");             \
            builtin_define("__STDC_EXT__");             \
            builtin_define("__STDCPP__");               \
+           builtin_define("_INCLUDE__STDC_A1_SOURCE"); \
          }                                             \
        if (TARGET_ILP32)                               \
          builtin_define("_ILP32");                     \
@@ -71,7 +72,9 @@ do {                                                  \
 #undef ENDFILE_SPEC
 
 #undef STARTFILE_SPEC
-#define STARTFILE_SPEC "%{!shared:%{static:crt0%O%s}}"
+#define STARTFILE_SPEC "%{!shared:%{static:crt0%O%s} \
+                         %{mlp64:/usr/lib/hpux64/unix98%O%s} \
+                         %{!mlp64:/usr/lib/hpux32/unix98%O%s}}"
 
 #undef LINK_SPEC
 #define LINK_SPEC \