some more temporary magic for the icc seg-fault issue
This commit is contained in:
parent
7ff38c14a9
commit
db325d1f43
@ -118,6 +118,10 @@ case $host in
|
|||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
with_pic=yes
|
with_pic=yes
|
||||||
;;
|
;;
|
||||||
|
i686*linux*)
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
with_pic=yes
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
;;
|
;;
|
||||||
|
@ -915,6 +915,8 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
|
|||||||
tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
|
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"
|
||||||
|
dnl Generate inlining diagnostics
|
||||||
|
tmp_CPPFLAGS="$tmp_CPPFLAGS -Winline"
|
||||||
fi
|
fi
|
||||||
dnl Disable using EBP register in optimizations
|
dnl Disable using EBP register in optimizations
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
|
tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
|
||||||
@ -922,6 +924,12 @@ AC_DEFUN([CARES_SET_COMPILER_WARNING_OPTS], [
|
|||||||
tmp_CFLAGS="$tmp_CFLAGS -fno-builtin"
|
tmp_CFLAGS="$tmp_CFLAGS -fno-builtin"
|
||||||
dnl Disable inlining of functions
|
dnl Disable inlining of functions
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fno-inline"
|
tmp_CFLAGS="$tmp_CFLAGS -fno-inline"
|
||||||
|
dnl Disable some IPO for single file optimizations
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -fno-inline-functions"
|
||||||
|
dnl Disable inlining of standard library functions
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -nolib-inline"
|
||||||
|
dnl Disable inlining of user-defined functions
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -Ob0"
|
||||||
dnl Enable floating-point stack integrity checks
|
dnl Enable floating-point stack integrity checks
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
|
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
|
||||||
dnl Enable run-time detection of buffer overruns.
|
dnl Enable run-time detection of buffer overruns.
|
||||||
|
@ -176,6 +176,10 @@ case $host in
|
|||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
with_pic=yes
|
with_pic=yes
|
||||||
;;
|
;;
|
||||||
|
i686*linux*)
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
with_pic=yes
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
;;
|
;;
|
||||||
|
@ -921,6 +921,8 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
|
|||||||
tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
|
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"
|
||||||
|
dnl Generate inlining diagnostics
|
||||||
|
tmp_CPPFLAGS="$tmp_CPPFLAGS -Winline"
|
||||||
fi
|
fi
|
||||||
dnl Disable using EBP register in optimizations
|
dnl Disable using EBP register in optimizations
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
|
tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
|
||||||
@ -928,6 +930,12 @@ AC_DEFUN([CURL_SET_COMPILER_WARNING_OPTS], [
|
|||||||
tmp_CFLAGS="$tmp_CFLAGS -fno-builtin"
|
tmp_CFLAGS="$tmp_CFLAGS -fno-builtin"
|
||||||
dnl Disable inlining of functions
|
dnl Disable inlining of functions
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fno-inline"
|
tmp_CFLAGS="$tmp_CFLAGS -fno-inline"
|
||||||
|
dnl Disable some IPO for single file optimizations
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -fno-inline-functions"
|
||||||
|
dnl Disable inlining of standard library functions
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -nolib-inline"
|
||||||
|
dnl Disable inlining of user-defined functions
|
||||||
|
tmp_CFLAGS="$tmp_CFLAGS -Ob0"
|
||||||
dnl Enable floating-point stack integrity checks
|
dnl Enable floating-point stack integrity checks
|
||||||
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
|
tmp_CFLAGS="$tmp_CFLAGS -fpstkchk"
|
||||||
dnl Enable run-time detection of buffer overruns.
|
dnl Enable run-time detection of buffer overruns.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user