]> git.pld-linux.org Git - packages/allegro5.git/blob - allegro-opt.patch
- massive attack: adding Source-md5
[packages/allegro5.git] / allegro-opt.patch
1 --- allegro-4.1.9/configure.in.orig     Thu Jan 30 00:04:22 2003
2 +++ allegro-4.1.9/configure.in  Thu Jan 30 00:04:47 2003
3 @@ -177,6 +177,7 @@
4    else
5      WFLAGS="-Wall"
6    fi
7 +  if test "$TARGET_ARCH" = "" ; then
8    if test "$allegro_cv_support_asm" = i386; then
9      if test "$allegro_exclusive_optimizations" != none; then
10        TARGET_ARCH="-march=$allegro_exclusive_optimizations"
11 @@ -186,13 +187,14 @@
12    else
13      TARGET_ARCH=
14    fi
15 +  fi
16    if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
17 -    CFLAGS="$TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
18 +    CFLAGS="$TARGET_ARCH -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
19    else
20 -    CFLAGS="$TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
21 +    CFLAGS="$TARGET_ARCH -funroll-loops -ffast-math $WFLAGS"
22    fi
23    ALLEGRO_DEBUG_CFLAGS="-g $WFLAGS -DDEBUGMODE"
24 -  ALLEGRO_PROFILE_CFLAGS="-pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
25 +  ALLEGRO_PROFILE_CFLAGS="-pg $TARGET_ARCH -funroll-loops -ffast-math $WFLAGS"
26    if test "X$allegro_cv_can_use_pipe" = "Xyes"; then
27      CFLAGS="-pipe $CFLAGS"
28      ALLEGRO_DEBUG_CFLAGS="-pipe $ALLEGRO_DEBUG_CFLAGS"
This page took 0.090832 seconds and 3 git commands to generate.