diff options
| author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-25 21:35:25 +0000 |
|---|---|---|
| committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-10-25 21:35:25 +0000 |
| commit | 2fa6c4e52c115735adaa63692724ac3d1fba911e (patch) | |
| tree | e634440ae68710857c9c68832701611e43c20d05 | |
| parent | 29f4cd78477b5da8db342b81de79afa7d468f7ba (diff) | |
| download | ppe42-gcc-2fa6c4e52c115735adaa63692724ac3d1fba911e.tar.gz ppe42-gcc-2fa6c4e52c115735adaa63692724ac3d1fba911e.zip | |
* config/ia64/hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++.
Add unix98.o to link line.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118043 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/ia64/hpux.h | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c28bd899a01..715481dcaea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> PR middle-end/29335 diff --git a/gcc/config/ia64/hpux.h b/gcc/config/ia64/hpux.h index 1fba106bce8..82463f1fe61 100644 --- a/gcc/config/ia64/hpux.h +++ b/gcc/config/ia64/hpux.h @@ -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 \ |

