-fomit-frame-pointer actually needed on gcc4

found by jakemsr@
This commit is contained in:
espie 2010-05-25 00:46:39 +00:00
parent a15d59feb3
commit b6095e2d65
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2010/04/26 02:56:30 jakemsr Exp $
# $OpenBSD: Makefile,v 1.4 2010/05/25 00:46:39 espie Exp $
COMMENT = game programming library for C/C++ developers
@ -6,9 +6,9 @@ SHARED_ONLY = Yes
V = 4.2.3
DISTNAME = allegro-$V
PKGNAME = ${DISTNAME}p0
PKGNAME = ${DISTNAME}p1
CATEGORIES = games devel multimedia
SHARED_LIBS = alleg 0.0 # 4.2
SHARED_LIBS = alleg 1.0 # 4.2
HOMEPAGE = http://alleg.sourceforge.net/
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=alleg/}

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_in,v 1.2 2010/04/26 02:56:30 jakemsr Exp $
$OpenBSD: patch-configure_in,v 1.3 2010/05/25 00:46:39 espie Exp $
--- configure.in.orig Sat Jul 14 21:46:22 2007
+++ configure.in Wed Jan 13 01:30:01 2010
@@ -28,26 +28,26 @@ allegro_enable_asm=yes)
@ -171,7 +171,7 @@ $OpenBSD: patch-configure_in,v 1.2 2010/04/26 02:56:30 jakemsr Exp $
+ ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH $WFLAGS"
if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
+ CFLAGS="$CFLAGS $TARGET_ARCH $WFLAGS"
+ CFLAGS="$CFLAGS $TARGET_ARCH $WFLAGS -fomit-frame-pointer"
else
- CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
+ CFLAGS="$CFLAGS $TARGET_ARCH $WFLAGS"