File: acinclude.m4

package info (click to toggle)
squeak-vm 1%3A4.10.2.2614%2B20120917~dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,144 kB
  • sloc: ansic: 72,193; objc: 5,494; sh: 3,061; asm: 1,533; cpp: 449; pascal: 372; makefile: 300; awk: 103; cs: 11
file content (14 lines) | stat: -rw-r--r-- 254 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
libm_cflags="-O"

if test "$GCC" = yes; then
  case $host_cpu in
  i?86)
    libm_cflags="-O -fomit-frame-pointer"
    ;;
  powerpc|ppc)
    libm_cflags="-O3 -funroll-loops -mcpu=750 -mno-fused-madd"
    ;;
  esac
fi

AC_SUBST(LIBM_CFLAGS, $libm_cflags)