From 736c22336afe038e6425c56542aad096d0d2d953 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sat, 31 Jul 2004 01:57:47 +0000 Subject: [PATCH] Only use -fno-common if we're compiling with GCC Original commit message from CVS: Only use -fno-common if we're compiling with GCC --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8a5f1feb4f..8a2e7ae949 100644 --- a/configure.ac +++ b/configure.ac @@ -222,8 +222,7 @@ fi AM_CONDITIONAL(GST_GCOV_ENABLED, test x$enable_gcov = xyes) dnl Check for some compiler flags that optimize our code. -dnl Only enable this for CVS builds for now -if test "x$GST_CVS" = "xyes"; then +if test "x$GCC" = xyes; then AS_COMPILER_FLAG(-fno-common,GST_INT_CFLAGS="$GST_INT_CFLAGS -fno-common",) fi