From: Eduard B. <ed...@gm...> - 2001-12-06 12:44:02
|
#include <hallo.h> Henrik Stokseth wrote on Fri Nov 30, 2001 um 11:45:13AM: > - Use a TAB-friendly editor and remove all ocurrences of > "-fomit-frame-pointer" from all makefiles. Or apply this and run autoconf once. --- allegro3940-3940.1.orig/configure.in +++ allegro3940-3940.1/configure.in @@ -167,7 +167,10 @@ else TARGET_ARCH= fi - CFLAGS="$TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS" + + CFLAGS="$TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS" + # hacked for Debian. Disables fomit-frame-pointer with gcc-3 on i386. Compiler broken. + gcc -v 2>&1 | grep "version 3" && test $(dpkg-architecture -qDEB_BUILD_GNU_CPU) == i386 || CFLAGS="$CFLAGS -fomit-frame-pointer" ALLEGRO_DEBUG_CFLAGS="-g $WFLAGS -DDEBUGMODE" ALLEGRO_PROFILE_CFLAGS="-pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS" if test "$allegro_cv_support_asm" != i386; then Gruss/Regards, Eduard. -- #!/usr/bin/perl -w -- sequences $0=++$|;for(;;){print-length$0;$0=~s/(.)\1*/$1.length$&/ge;}print"\n"; |