diff options
Diffstat (limited to 'gcc/config/pa/pa-linux.h')
-rw-r--r-- | gcc/config/pa/pa-linux.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/pa/pa-linux.h b/gcc/config/pa/pa-linux.h index 7138e75..2f0ee02 100644 --- a/gcc/config/pa/pa-linux.h +++ b/gcc/config/pa/pa-linux.h @@ -28,7 +28,10 @@ Boston, MA 02111-1307, USA. */ #define CPP_PREDEFINES "-D__ELF__ -Dunix -D__hppa__ -Dlinux -Asystem=unix -Asystem=posix -Acpu=hppa -Amachine=hppa -Amachine=bigendian" #undef LIB_SPEC -#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" +#define LIB_SPEC \ + "%{shared: -lgcc -lc} \ + %{!shared: %{mieee-fp:-lieee} %{pthread:-lpthread} \ + %{shared-libgcc: -lgcc} %{profile:-lc_p} %{!profile: -lc}}" #undef ASM_SPEC #define ASM_SPEC \ |