Commit 82f4593a by Andrew Pinski Committed by Andrew Pinski

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
parent 82618d44
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> 2004-12-05 Roger Sayle <roger@eyesopen.com>
* c-typeck.c (c_finish_loop): Improve initial implementations * c-typeck.c (c_finish_loop): Improve initial implementations
......
...@@ -99,7 +99,7 @@ if [ "$SHLIB_LINK" ]; then ...@@ -99,7 +99,7 @@ if [ "$SHLIB_LINK" ]; then
# overriding that with #pragmas. The dance with @ is to prevent # overriding that with #pragmas. The dance with @ is to prevent
# echo from seeing anything it might take for an option. # echo from seeing anything it might take for an option.
echo "vis_hide := \$(strip \$(subst @,-,\\" 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 " $gcc_compile -fvisibility=hidden -Werror \\"
echo " -c -xc - -o /dev/null 2> /dev/null; \\" echo " -c -xc - -o /dev/null 2> /dev/null; \\"
echo " then echo @fvisibility=hidden @DHIDE_EXPORTS; \\" echo " then echo @fvisibility=hidden @DHIDE_EXPORTS; \\"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment