Changeset 884


Ignore:
Timestamp:
Sep 1, 2011, 7:39:21 PM (8 years ago)
Author:
sam
Message:

build: check for <fastmath.h> and build using -O3 -ffastmath.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r848 r884  
    5050  [  --enable-cppunit        use cppunit for unit tests (autodetected)])
    5151
    52 AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h)
     52AC_CHECK_HEADERS(stdio.h stdarg.h inttypes.h endian.h stdint.h getopt.h fastmath.h)
    5353
    5454if test "${enable_debug}" = "yes"; then
     
    5656  OPT="-O"
    5757else
    58   OPT="-O2 -fno-strength-reduce -fomit-frame-pointer"
     58  OPT="-O3 -ffast-math -fno-strength-reduce -fomit-frame-pointer"
    5959fi
    6060
Note: See TracChangeset for help on using the changeset viewer.