summaryrefslogtreecommitdiff
path: root/gcc/config/netbsd.h
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-28 16:25:14 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-28 16:25:14 +0000
commitd02da15e05651647cf06bbe9d6d740fed55825d9 (patch)
tree9605a980569976f6af1f8b87caa727d6b4aee99e /gcc/config/netbsd.h
parent70a7518ffd0ff91fc3de8a55ded5993be5ffc6a5 (diff)
downloadgcc-d02da15e05651647cf06bbe9d6d740fed55825d9.tar.gz
* config.gcc (*-*-netbsdelf*): Set up generic parameters.
(*-*-netbsd*): Always use collect2. Remove collect2 settings from other non-elf netbsd config frags. * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since collect2 will does that. * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that shared-lib frobbing will work. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49285 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r--gcc/config/netbsd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 5894174791e..fba341bc0cb 100644
--- a/gcc/config/netbsd.h
+++ b/gcc/config/netbsd.h
@@ -70,12 +70,12 @@
"%{!symbolic: \
%{!shared: \
%{!p: \
- %{!pg:-lgcc}}} \
- %{shared:-lgcc_pic} \
- %{p:-lgcc_p} \
- %{pg:-lgcc_p}}"
+ %{!pg: -lgcc}}} \
+ %{shared: -lgcc_pic} \
+ %{p: -lgcc_p} \
+ %{pg: -lgcc_p}}"
#else
-#define LIBGCC_SPEC "%{!shared:%{!symbolic:-lgcc}}"
+#define LIBGCC_SPEC "%{!shared:%{!symbolic: -lgcc}}"
#endif
/* When building shared libraries, the initialization and finalization