]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed now useless -fhuge-objects GCC compiler flag and related autoconf checks.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 1 Dec 2011 06:31:39 +0000 (07:31 +0100)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Thu, 1 Dec 2011 06:31:39 +0000 (07:31 +0100)
acinclude/compiler-flags.m4
configure.ac
lib/libTrie/configure.ac

index 5b4a5fb852bf48c712d4d539055132f3512a1078..5757c5c804bc8777e80027ec598c4b45ed410eca 100644 (file)
@@ -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
index 0b8d99affd2ee33eaa21e6565c7eaf780146dcc2..ffa11c44d35bda2674410d50552fdd1dd61f5a08 100644 (file)
@@ -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"
index a90d34a29740090ddb410bab6d1455f82744bc7f..7fcfec68c50c130bbd29e600c2c7d9f21c984273 100644 (file)
@@ -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)