aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/ChangeLog4
-rw-r--r--config/picflag.m42
2 files changed, 5 insertions, 1 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 629d0cb..01d24e3 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-05 Alan Modra <amodra@gmail.com>
+
+ * picflag.m4: Import from gcc.
+
2016-12-08 Alan Modra <amodra@gmail.com>
* acx.m4: Import from gcc.
diff --git a/config/picflag.m4 b/config/picflag.m4
index 2f5b972..8b106f9 100644
--- a/config/picflag.m4
+++ b/config/picflag.m4
@@ -12,7 +12,7 @@ case "${$2}" in
# If we are using a compiler supporting mdynamic-no-pic
# and the option has been tested as safe to add, then cancel
# it here, since the code generated is incompatible with shared
- # libs.
+ # libs.
*-mdynamic-no-pic*) $1='-fno-common -mno-dynamic-no-pic' ;;
*) $1=-fno-common ;;
esac