summaryrefslogtreecommitdiff
path: root/config/gcc-plugin.m4
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-02-06 08:30:53 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2018-02-06 08:30:53 +0000
commit9718199a1783488c346f656c2bec2d562e52fb02 (patch)
tree8bbdf724bde1fce085f8a032f7a6c1de66e68b15 /config/gcc-plugin.m4
parent9dfc6e839488820c3dda0c50d0138d0dc9a3e7a8 (diff)
downloadgcc-9718199a1783488c346f656c2bec2d562e52fb02.tar.gz
gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep.
config/ * gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep. gcc/ * configure: Regenerate. From-SVN: r257406
Diffstat (limited to 'config/gcc-plugin.m4')
-rw-r--r--config/gcc-plugin.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/gcc-plugin.m4 b/config/gcc-plugin.m4
index 38b2ae6e12e..8f278719118 100644
--- a/config/gcc-plugin.m4
+++ b/config/gcc-plugin.m4
@@ -60,14 +60,14 @@ AC_DEFUN([GCC_ENABLE_PLUGINS],
if test "x$export_sym_check" != x; then
echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest$ac_exeext > /dev/null 2>&1
- if $export_sym_check conftest$ac_exeext | grep -q foobar > /dev/null; then
+ if $export_sym_check conftest$ac_exeext | grep foobar > /dev/null; then
: # No need to use a flag
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([for -rdynamic])
${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o conftest$ac_exeext > /dev/null 2>&1
- if $export_sym_check conftest$ac_exeext | grep -q foobar > /dev/null; then
+ if $export_sym_check conftest$ac_exeext | grep foobar > /dev/null; then
plugin_rdynamic=yes
pluginlibs="-rdynamic"
else