mklibgcc.in (vis_hide): Add the prototype for the test.

2004-12-05  Andrew Pinski  <pinskia@physics.uc.edu>

        * mklibgcc.in (vis_hide): Add the prototype for the test.

From-SVN: r91752
This commit is contained in:
Andrew Pinski 2004-12-05 19:28:27 +00:00 committed by Andrew Pinski
parent 82618d44f7
commit 82f4593a97
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-12-05 Andrew Pinski <pinskia@physics.uc.edu>
* mklibgcc.in (vis_hide): Add the prototype for the test.
2004-12-05 Roger Sayle <roger@eyesopen.com>
* c-typeck.c (c_finish_loop): Improve initial implementations

View File

@ -99,7 +99,7 @@ if [ "$SHLIB_LINK" ]; then
# overriding that with #pragmas. The dance with @ is to prevent
# echo from seeing anything it might take for an option.
echo "vis_hide := \$(strip \$(subst @,-,\\"
echo " \$(shell if echo 'void foo(void) {}' | \\"
echo " \$(shell if echo 'void foo(void); void foo(void) {}' | \\"
echo " $gcc_compile -fvisibility=hidden -Werror \\"
echo " -c -xc - -o /dev/null 2> /dev/null; \\"
echo " then echo @fvisibility=hidden @DHIDE_EXPORTS; \\"