Only use -fno-common if we're compiling with GCC
authorDavid Schleef <ds@schleef.org>
Sat, 31 Jul 2004 01:57:47 +0000 (01:57 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 31 Jul 2004 01:57:47 +0000 (01:57 +0000)
Original commit message from CVS:
Only use -fno-common if we're compiling with GCC

configure.ac

index 8a5f1fe..8a2e7ae 100644 (file)
@@ -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