aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-01 22:52:36 +0000
committerRichard Stallman <rms@gnu.org>1993-10-01 22:52:36 +0000
commit5ec4e39ecf4293b021f77e3a0934a09056df9f19 (patch)
tree3d372a73db5407e0ca9b8e8bc4212683fbf19481
parente4623f4f570170f9d0cd6929673e6ab121f349ce (diff)
downloadgcc-5ec4e39ecf4293b021f77e3a0934a09056df9f19.zip
gcc-5ec4e39ecf4293b021f77e3a0934a09056df9f19.tar.gz
gcc-5ec4e39ecf4293b021f77e3a0934a09056df9f19.tar.bz2
(LIB_SPEC): Handle -p anmd -pg outermost.
From-SVN: r5551
-rw-r--r--gcc/config/i386/linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h
index 5018bfc..1958067 100644
--- a/gcc/config/i386/linux.h
+++ b/gcc/config/i386/linux.h
@@ -58,7 +58,7 @@
#endif
#undef LIB_SPEC
-#define LIB_SPEC "%{g*:-lg} %{!g*:%{!p:%{!pg:-lc}}%{p:-lgmon -lc_p}%{pg:-lgmon -lc_p}}"
+#define LIB_SPEC "%{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}"
#undef STARTFILE_SPEC