diff options
author | Yang Tse <yangsita@gmail.com> | 2008-10-16 01:45:07 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-10-16 01:45:07 +0000 |
commit | f5840c42bd7fe9e68fd5d546877ebf6b8885fe30 (patch) | |
tree | 4a2af30460ec11aec7caca3a40ddc7a1380ed4e3 /m4 | |
parent | 4037d01c3e6433a2d274cd190799d013a6615271 (diff) | |
download | c-ares-f5840c42bd7fe9e68fd5d546877ebf6b8885fe30.tar.gz c-ares-f5840c42bd7fe9e68fd5d546877ebf6b8885fe30.tar.bz2 c-ares-f5840c42bd7fe9e68fd5d546877ebf6b8885fe30.zip |
some more temporary magic for the icc seg-fault issue
Diffstat (limited to 'm4')
-rw-r--r-- | m4/cares-compilers.m4 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/m4/cares-compilers.m4 b/m4/cares-compilers.m4 index 2b00dff..156ff63 100644 --- a/m4/cares-compilers.m4 +++ b/m4/cares-compilers.m4 @@ -916,10 +916,20 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [ if test "$want_warnings" = "yes"; then if test "$compiler_num" -gt "600"; then dnl Show errors, warnings, and remarks - tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall" + tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2" dnl Perform extra compile-time code checking tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck" 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 ;; # |