pike.git
/
src
/
configure.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/configure.in:1757:
i686) AC_SYS_COMPILER_FLAG(-mtune=i686,mtune_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=i686,mcpu_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentiumpro,pentiumpro,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=pentium,mcpu_pentium,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentium,pentium,CFLAGS) ]) ]) ]) ])
+
# The SSE opcodes are not necessarily enabled on all PIII's.
+
# Cf eg https://bugs.kde.org/show_bug.cgi?id=70655#c8
+
AC_SYS_COMPILER_FLAG(-mno-sse, mno_sse, CFLAGS)
# AC_SYS_COMPILER_FLAG(-march=i686,march_i686,CFLAGS) ;; x86_64) AC_SYS_COMPILER_FLAG(-m64,m64,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mtune=i686,mtune_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=i686,mcpu_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentiumpro,pentiumpro,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=pentium,mcpu_pentium,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentium,pentium,CFLAGS) ]) ]) ]) ]) ])
-
+
if test "x$with_abi" = "x32"; then
+
# It seems the SSE opcodes are not necessarily enabled.
+
AC_SYS_COMPILER_FLAG(-mno-sse, mno_sse, CFLAGS)
+
fi
;; i86pc) # Solaris x86 case "`optisa \`isalist 2>/dev/null\` 2>/dev/null || isalist 2>/dev/null`" in *amd64*) AC_SYS_COMPILER_FLAG(-m64,m64,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mtune=i686,mtune_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=i686,mcpu_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentiumpro,pentiumpro,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=pentium,mcpu_pentium,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentium,pentium,CFLAGS) ]) ]) ]) ]) ])
-
+
if test "x$with_abi" = "x32"; then
+
# It seems the SSE opcodes are not necessarily enabled.
+
AC_SYS_COMPILER_FLAG(-mno-sse, mno_sse, CFLAGS)
+
fi
# AC_SYS_COMPILER_FLAG(-march=i686,march_i686,CFLAGS) ;; *pentium_pro*) AC_SYS_COMPILER_FLAG(-mtune=i686,mtune_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=i686,mcpu_i686,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentiumpro,pentiumpro,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=pentium,mcpu_pentium,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentium,pentium,CFLAGS) ]) ]) ]) ])
-
+
# The SSE opcodes are not necessarily enabled on all PIII's.
+
# Cf eg https://bugs.kde.org/show_bug.cgi?id=70655#c8
+
AC_SYS_COMPILER_FLAG(-mno-sse, mno_sse, CFLAGS)
# AC_SYS_COMPILER_FLAG(-march=i686,march_i686,CFLAGS) ;; *pentium*) AC_SYS_COMPILER_FLAG(-mtune=pentium,mtune_pentium,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mcpu=pentium,mcpu_pentium,CFLAGS,[ AC_SYS_COMPILER_FLAG(-mpentium,pentium,CFLAGS,[ AC_SYS_COMPILER_FLAG(-m486,486,CFLAGS) ]) ]) ])