From 74a2fb369c9ca7b3b423723926626fb0760abb29 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Mon, 10 Nov 2014 12:22:01 +0100 Subject: Revert "Force --std=gnu89 for clang." Explictly passing any CFLAGS to configure overrides (=disables) CFLAGS that would be used by default. So if this sets CFLAGS to just --std=gnu89, .c files will never be built with optimization or debuginfo. This reverts commit 3a4860a751980b566b44d57cde188292df5e8726. --- configure.ac | 4 ---- 1 file changed, 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index b1fada10f238..f47b06ac3ee8 100644 --- a/configure.ac +++ b/configure.ac @@ -3190,10 +3190,6 @@ if test "$GCC" = "yes"; then AC_MSG_RESULT([Clang $CLANG_FULL_VERSION, $CLANGVER]) AC_DEFINE_UNQUOTED(CLANG_FULL_VERSION,$CLANG_FULL_VERSION) fi - - # On Windows MSVC only supports C90 so force gnu89 (especially in clang) to - # to catch potential gnu89/C90 incompatibilities locally. - CFLAGS="$CFLAGS -std=gnu89" fi AC_SUBST(COM_GCC_IS_CLANG) -- cgit