summaryrefslogtreecommitdiffstats
path: root/gcc/config/gnu.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/gnu.h')
-rw-r--r--gcc/config/gnu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h
index 93b94b1aa9c..b7fefa4427c 100644
--- a/gcc/config/gnu.h
+++ b/gcc/config/gnu.h
@@ -6,7 +6,7 @@
/* Default C library spec. Use -lbsd-compat for gcc -bsd. */
#undef LIB_SPEC
-#define LIB_SPEC "%{pthread:-lpthread} %{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+#define LIB_SPEC "%{pthread:-lpthread} %{bsd:-lbsd-compat} %{pg|p|profile:-lc_p;:-lc}"
/* Standard include directory. In GNU, "/usr" is a four-letter word. */
#undef STANDARD_INCLUDE_DIR
OpenPOWER on IntegriCloud