X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=configure;h=d944a47ff43dd527a3cb7ad21f50905c65fd7645;hb=11da520c7af5b190e69c0906c6e95000c4e59f33;hp=49d838441f4a78155438690fcf23f3f83e3f8965;hpb=c42650abb0d7040cdc427fc083fa38be6ee4a4cf;p=musl diff --git a/configure b/configure index 49d83844..d944a47f 100755 --- a/configure +++ b/configure @@ -476,10 +476,18 @@ if test "x$visibility" = xauto ; then # - the -include option # - the attributes/pragmas used in vis.h # - linking code that takes the address of protected symbols +# - gcc 3.x bug that wrongly claims declarations mismatch printf "checking whether global visibility preinclude works... " -echo 'int (*fp)(void);' > "$tmpc" -echo 'int foo(void) { }' >> "$tmpc" -echo 'int bar(void) { fp = foo; return foo(); }' >> "$tmpc" +cat > "$tmpc" <