Search
lxdream.org :: lxdream/configure :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 913:edc494bde24b
prev909:b4a21af8ce8c
next924:195577c0445c
author nkeynes
date Fri Oct 31 03:27:43 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Enable sse-math for all platforms
file annotate diff log raw
1.1 --- a/configure Thu Oct 30 23:56:59 2008 +0000
1.2 +++ b/configure Fri Oct 31 03:27:43 2008 +0000
1.3 @@ -1474,7 +1474,7 @@
1.4 --disable-translator Disable the SH4 translator (Enabled by default)
1.5 --disable-optimized Disable compile-time optimizations (Enabled by
1.6 default)
1.7 - --enable-profiled Enable profiling build (implies disable-optimized)
1.8 + --enable-profiled Enable profiling build
1.9 --enable-trace Enable generation of IO traces (warning: hurts
1.10 performance)
1.11 --enable-watch Enable watchpoints in the debugger (warning: hurts
1.12 @@ -6647,23 +6647,28 @@
1.13
1.14
1.15
1.16 +if test "x$enable_optimized" = "xyes"; then
1.17 + CFLAGS="-g -O2 -msse2 -mfpmath=sse"
1.18 + if test "x$enable_profiled" != "xyes"; then
1.19 + CFLAGS="$CFLAGS -fexceptions -fomit-frame-pointer"
1.20 +
1.21 +cat >>confdefs.h <<\_ACEOF
1.22 +#define HAVE_EXCEPTIONS 1
1.23 +_ACEOF
1.24 +
1.25 + fi
1.26 +
1.27 +cat >>confdefs.h <<\_ACEOF
1.28 +#define HAVE_FASTCALL 1
1.29 +_ACEOF
1.30 +
1.31 +else
1.32 + CFLAGS="-g3"
1.33 +fi
1.34 +
1.35 if test "x$enable_profiled" = "xyes"; then
1.36 - CFLAGS="-g -pg -fprofile-arcs"
1.37 + CFLAGS="$CFLAGS -pg"
1.38 LDFLAGS="$LDFLAGS -pg";
1.39 -elif test "x$enable_optimized" = "xyes"; then
1.40 - CFLAGS="-g -O2 -fexceptions -fomit-frame-pointer"
1.41 -
1.42 -cat >>confdefs.h <<\_ACEOF
1.43 -#define HAVE_EXCEPTIONS 1
1.44 -_ACEOF
1.45 -
1.46 -
1.47 -cat >>confdefs.h <<\_ACEOF
1.48 -#define HAVE_FASTCALL 1
1.49 -_ACEOF
1.50 -
1.51 -else
1.52 - CFLAGS="-g3"
1.53 fi
1.54
1.55 if test "x$GCC" = "xyes"; then
.