Commit 6db63df9 by Steve Ellcey Committed by Steve Ellcey

hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++.

	* config/ia64/hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++.
	Add unix98.o to link line.

From-SVN: r118043
parent cf1491f0
2006-10-25 Steve Ellcey <sje@cup.hp.com>
* config/ia64/hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++.
Add unix98.o to link line.
2006-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2006-10-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR middle-end/29335 PR middle-end/29335
......
...@@ -53,6 +53,7 @@ do { \ ...@@ -53,6 +53,7 @@ do { \
builtin_define("_HPUX_SOURCE"); \ builtin_define("_HPUX_SOURCE"); \
builtin_define("__STDC_EXT__"); \ builtin_define("__STDC_EXT__"); \
builtin_define("__STDCPP__"); \ builtin_define("__STDCPP__"); \
builtin_define("_INCLUDE__STDC_A1_SOURCE"); \
} \ } \
if (TARGET_ILP32) \ if (TARGET_ILP32) \
builtin_define("_ILP32"); \ builtin_define("_ILP32"); \
...@@ -71,7 +72,9 @@ do { \ ...@@ -71,7 +72,9 @@ do { \
#undef ENDFILE_SPEC #undef ENDFILE_SPEC
#undef STARTFILE_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 #undef LINK_SPEC
#define LINK_SPEC \ #define LINK_SPEC \
......
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