From: Francesco Chemolli Date: Thu, 1 Dec 2011 06:31:39 +0000 (+0100) Subject: Removed now useless -fhuge-objects GCC compiler flag and related autoconf checks. X-Git-Tag: BumpSslServerFirst.take05~12^2~149^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91c75727532a988a87004a75f6b78aeca3196db8;p=thirdparty%2Fsquid.git Removed now useless -fhuge-objects GCC compiler flag and related autoconf checks. --- diff --git a/acinclude/compiler-flags.m4 b/acinclude/compiler-flags.m4 index 5b4a5fb852..5757c5c804 100644 --- a/acinclude/compiler-flags.m4 +++ b/acinclude/compiler-flags.m4 @@ -47,19 +47,6 @@ AC_DEFUN([SQUID_CC_CHECK_ARGUMENT],[ }]) ]) -# check if the c++ compiler supports the -fhuge-objects flag -# sets the variable squid_cv_cxx_arg_fhugeobjects to either "yes" or "no" -# -AC_DEFUN([SQUID_CXX_CHECK_ARG_FHUGEOBJECTS],[ - AC_LANG_PUSH([C++]) - if test "$GCC" = "yes"; then - SQUID_CC_CHECK_ARGUMENT([squid_cv_cxx_arg_fhugeobjects],[-Werror -fhuge-objects]) - else - squid_cv_cxx_arg_fhugeobjects=no - fi - AC_LANG_POP([C++]) -]) - # detect what kind of compiler we're using, either by using hints from # autoconf itself, or by using predefined preprocessor macros # sets the variable squid_cv_compiler to one of diff --git a/configure.ac b/configure.ac index 0b8d99affd..ffa11c44d3 100644 --- a/configure.ac +++ b/configure.ac @@ -331,10 +331,6 @@ if test "x$enable_strict_error_checking" != "xno"; then SQUID_CXXFLAGS="$SQUID_CXXFLAGS $squid_cv_cxx_option_werror" fi -SQUID_CXX_CHECK_ARG_FHUGEOBJECTS -if test "x$squid_cv_cxx_arg_fhugeobjects" = "xyes"; then - SQUID_CXXFLAGS="$SQUID_CXXFLAGS -fhuge-objects" -fi # squid_cv_cc_arg_pipe is set by SQUID_CC_GUESS_OPTIONS SQUID_CXXFLAGS="$SQUID_CXXFLAGS $squid_cv_cc_arg_pipe" SQUID_CFLAGS="$SQUID_CFLAGS $squid_cv_cc_arg_pipe" diff --git a/lib/libTrie/configure.ac b/lib/libTrie/configure.ac index a90d34a297..7fcfec68c5 100644 --- a/lib/libTrie/configure.ac +++ b/lib/libTrie/configure.ac @@ -89,8 +89,6 @@ if test "$GCC" = "yes"; then TRIE_CXXFLAGS="-Werror $TRIE_CXXFLAGS" fi - AC_TEST_CHECKFORHUGEOBJECTS - TRIE_CXXFLAGS="$TRIE_CXXFLAGS $HUGE_OBJECT_FLAG" fi AC_SUBST(TRIE_CFLAGS)