aboutsummaryrefslogtreecommitdiff
path: root/gcc/mklibgcc.in
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2004-12-05 19:28:27 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-12-05 11:28:27 -0800
commit82f4593a97f20deebb71cc7d624727cfe01f8c2c (patch)
tree0413b601d1cc5b08fffa8dd898512646989f19e9 /gcc/mklibgcc.in
parent82618d44f771eb489fff8a5547dd9cbe15dd5446 (diff)
downloadgcc-82f4593a97f20deebb71cc7d624727cfe01f8c2c.zip
gcc-82f4593a97f20deebb71cc7d624727cfe01f8c2c.tar.gz
gcc-82f4593a97f20deebb71cc7d624727cfe01f8c2c.tar.bz2
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
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r--gcc/mklibgcc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in
index 535420b..d103f36 100644
--- a/gcc/mklibgcc.in
+++ b/gcc/mklibgcc.in
@@ -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; \\"