]> git.pld-linux.org Git - packages/allegro5.git/blame - allegro-opt.patch
- updated for allegro-4.1.14
[packages/allegro5.git] / allegro-opt.patch
CommitLineData
9d03ba25 1diff -urN aa/allegro-4.1.14/configure.in allegro-4.1.14/configure.in
2--- aa/allegro-4.1.14/configure.in 2004-04-27 13:53:02.000000000 +0200
3+++ allegro-4.1.14/configure.in 2004-05-23 21:18:36.478313632 +0200
4@@ -662,29 +662,7 @@
5109ccb4 5
6 dnl How to compile C and asm files.
7 if test -n "GCC"; then
8- if test "X$allegro_strict_warnings" = "Xyes"; then
9- WFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused -Werror"
10- else
11- WFLAGS="-Wall -Wno-unused"
12- fi
e5681362 13- if test "X$allegro_cv_processor_type" = "Xi386"; then
5109ccb4 14- if test "$allegro_exclusive_optimizations" != none; then
15- TARGET_ARCH="-march=$allegro_exclusive_optimizations"
f5b1a240 16- elif test "X$allegro_cv_support_i386_mtune" = "Xyes"; then
17- TARGET_ARCH="-mtune=$allegro_optimizations"
5109ccb4 18- else
19- TARGET_ARCH="-mcpu=$allegro_optimizations"
20- fi
21- else
22- TARGET_ARCH=
23- fi
24- if test "X$allegro_cv_can_use_pipe" = "Xyes"; then
25- CFLAGS="$CFLAGS -pipe"
26- fi
5109ccb4 27- dnl Allow to specify additional flags.
28- CFLAGS="$CFLAGS $XCFLAGS"
29- WFLAGS="$WFLAGS $WCFLAGS"
30- dnl In this order...
e5681362 31+ WFLAGS="-Wall -Wno-unused"
2bccd21e 32 ALLEGRO_DEBUG_CFLAGS="$CFLAGS -g $WFLAGS -DDEBUGMODE"
5109ccb4 33 if test "X$allegro_debug_with_fortify" = "Xyes"; then
34 ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY"
9d03ba25 35@@ -692,12 +670,8 @@
36 if test "X$allegro_debug_with_dmalloc" = "Xyes"; then
37 ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
7d6ed33c 38 fi
5109ccb4 39- ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
40- if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
41- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
42- else
43- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
44- fi
2bccd21e 45+ CFLAGS="$CFLAGS $TARGET_ARCH"
9d03ba25 46+ ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS"
5109ccb4 47 ALLEGRO_SFLAGS="-x assembler-with-cpp"
48 ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"
49 else
This page took 0.500277 seconds and 4 git commands to generate.