From a68287f4f05b828e668f9993140cdc7b5fbf420a Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 26 Jun 2009 18:55:50 -0400 Subject: [PATCH] Enhance gcc test for visible variables with -fwhole-program. Add 'extern' decl before variable test - some older compilers wont mark a variable visible if an extern decl precedes it. --- tools/test-gcc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/test-gcc.sh b/tools/test-gcc.sh index 5f55f37..738cf64 100755 --- a/tools/test-gcc.sh +++ b/tools/test-gcc.sh @@ -19,6 +19,7 @@ fi # Test if "visible" variables and functions are marked global. cat - > $TMPFILE1 < /dev/null 2>&1 -- 2.25.1