mklibgcc.in (vis_hide): Add the prototype for the test.
authorAndrew Pinski <pinskia@physics.uc.edu>
Sun, 5 Dec 2004 19:28:27 +0000 (19:28 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 5 Dec 2004 19:28:27 +0000 (11:28 -0800)
2004-12-05  Andrew Pinski  <pinskia@physics.uc.edu>

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

From-SVN: r91752

gcc/ChangeLog
gcc/mklibgcc.in

index 23dc36f33d0fc5f155c5a4cd6ec1782881352a92..2eceb2cbdc486656e3606dfb583a98c9ea47c42f 100644 (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
index 535420b91017e910c097a6904d4231b01d15beed..d103f3642716ca020c45882fcfde2cb3d428bafa 100644 (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; \\"