some more temporary magic for the icc seg-fault issue

This commit is contained in:
Yang Tse 2008-10-16 01:45:07 +00:00
parent 5175664174
commit fb66d51796
2 changed files with 22 additions and 2 deletions

View File

@ -916,10 +916,20 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
if test "$want_warnings" = "yes"; then if test "$want_warnings" = "yes"; then
if test "$compiler_num" -gt "600"; then if test "$compiler_num" -gt "600"; then
dnl Show errors, warnings, and remarks dnl Show errors, warnings, and remarks
tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall" tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
dnl Perform extra compile-time code checking dnl Perform extra compile-time code checking
tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck" tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
fi fi
dnl Disable using EBP register in optimizations
tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
dnl Disable inline expansion of intrinsic functions
tmp_CFLAGS="$tmp_CFLAGS -fno-builtin"
dnl Disable inlining of functions
tmp_CFLAGS="$tmp_CFLAGS -fno-inline"
dnl Enable floating-point stack integrity checks
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
dnl Enable run-time detection of buffer overruns.
tmp_CFLAGS="$tmp_CFLAGS -fstack-security-check"
fi fi
;; ;;
# #

View File

@ -922,10 +922,20 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
if test "$want_warnings" = "yes"; then if test "$want_warnings" = "yes"; then
if test "$compiler_num" -gt "600"; then if test "$compiler_num" -gt "600"; then
dnl Show errors, warnings, and remarks dnl Show errors, warnings, and remarks
tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall" tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
dnl Perform extra compile-time code checking dnl Perform extra compile-time code checking
tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck" tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
fi fi
dnl Disable using EBP register in optimizations
tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
dnl Disable inline expansion of intrinsic functions
tmp_CFLAGS="$tmp_CFLAGS -fno-builtin"
dnl Disable inlining of functions
tmp_CFLAGS="$tmp_CFLAGS -fno-inline"
dnl Enable floating-point stack integrity checks
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
dnl Enable run-time detection of buffer overruns.
tmp_CFLAGS="$tmp_CFLAGS -fstack-security-check"
fi fi
;; ;;
# #