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
This commit is contained in:
parent
9dfc6e8394
commit
9718199a17
4 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
2018-02-06 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* gcc-plugin.m4 (GCC_ENABLE_PLUGINS): Remove -q option passed to grep.
|
||||
|
||||
2017-11-14 Boris Kolpackov <boris@codesynthesis.com>
|
||||
|
||||
* gcc-plugin.m4: Add support for MinGW.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2018-02-06 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
2018-02-05 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR tree-optimization/83369
|
||||
|
|
4
gcc/configure
vendored
4
gcc/configure
vendored
|
@ -29741,7 +29741,7 @@ $as_echo_n "checking for exported symbols... " >&6; }
|
|||
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
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
|
@ -29751,7 +29751,7 @@ $as_echo "yes" >&6; }
|
|||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
|
||||
$as_echo_n "checking for -rdynamic... " >&6; }
|
||||
${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
|
||||
|
|
Loading…
Add table
Reference in a new issue