--- gcc/gcc.c.mps Sun Nov 14 21:10:35 2004 +++ gcc/gcc.c Mon Nov 15 11:12:02 2004 @@ -683,7 +683,7 @@ #ifndef LINK_PIE_SPEC #ifdef HAVE_LD_PIE -#define LINK_PIE_SPEC "%{pie:-pie} " +#define LINK_PIE_SPEC "%{pie:%{!A:%{!nostdlib:%{!nostartfiles:-pie}}}} " #else #define LINK_PIE_SPEC "%{pie:} " #endif