From: David Schleef Date: Sat, 31 Jul 2004 01:57:47 +0000 (+0000) Subject: Only use -fno-common if we're compiling with GCC X-Git-Tag: RELEASE-0_8_6~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=736c22336afe038e6425c56542aad096d0d2d953;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/configure.ac b/configure.ac index 8a5f1fe..8a2e7ae 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