summaryrefslogtreecommitdiff
path: root/gcc/config/arm/linux-elf.h
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-10 10:55:32 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-10 10:55:32 +0000
commitec5fe4f6a66df9bd274088f8cc067164d205ef8e (patch)
tree58367f46cd9deb7e9ba3e672cc175a9880a10dcb /gcc/config/arm/linux-elf.h
parentf9f63503232c7e391e4dd7bdddc28de6f05beeae (diff)
downloadgcc-ec5fe4f6a66df9bd274088f8cc067164d205ef8e.tar.gz
* config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
-shared. * config/alpha/linux-elf.h (LIB_SPEC): Likewise. * config/alpha/linux.h (LIB_SPEC): Likewise. * config/arm/linux-elf.h (LIB_SPEC): Likewise. * config/pa/pa-linux.h (LIB_SPEC): Likewise. * config/sparc/linux.h (LIB_SPEC): Likewise. * config/sparc/linux64.h (LIB_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59992 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/linux-elf.h')
-rw-r--r--gcc/config/arm/linux-elf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h
index 792ea736265..c6d14e769f1 100644
--- a/gcc/config/arm/linux-elf.h
+++ b/gcc/config/arm/linux-elf.h
@@ -48,9 +48,9 @@ Boston, MA 02111-1307, USA. */
/* Now we define the strings used to build the spec file. */
#define LIB_SPEC \
- "%{shared: -lc} \
- %{!shared: %{pthread:-lpthread} \
- %{profile:-lc_p} %{!profile: -lc}}"
+ "%{pthread:-lpthread} \
+ %{shared:-lc} \
+ %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
#define LIBGCC_SPEC "%{msoft-float:-lfloat} -lgcc"