From c77e709785fab74313a6c443c4f2f00fb9a86b70 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 30 May 2005 01:52:00 +0000 Subject: [PATCH] tweak cflags git-svn-id: svn://svn.videolan.org/x264/trunk@242 df754926-b1dd-0310-bc7b-ec298dee348c --- configure | 4 ++-- vfw/build/cygwin/Makefile | 7 +------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/configure b/configure index f90b2d2d..2e0ed92b 100755 --- a/configure +++ b/configure @@ -27,7 +27,7 @@ vfw="no" vis="no" CC="gcc" -CFLAGS="-Wall -I. -O4 -funroll-loops -ffast-math -D__X264__" +CFLAGS="-Wall -I. -O4 -ffast-math -D__X264__" LDFLAGS="" AS="nasm" @@ -163,7 +163,7 @@ done VFWFLAGS= if [ "$debug" != "yes" ]; then - CFLAGS="$CFLAGS -s" + CFLAGS="$CFLAGS -s -fomit-frame-pointer" LDFLAGS="$LDFLAGS -s" VFW_LDFLAGS="$VFW_LDFLAGS -s" fi diff --git a/vfw/build/cygwin/Makefile b/vfw/build/cygwin/Makefile index b5a6de16..31193140 100644 --- a/vfw/build/cygwin/Makefile +++ b/vfw/build/cygwin/Makefile @@ -44,12 +44,7 @@ CFLAGS += -mno-cygwin # Optional Compiler options CFLAGS += -Wall -CFLAGS += -O2 -CFLAGS += -fstrength-reduce -CFLAGS += -finline-functions -CFLAGS += -fgcse -CFLAGS += -freduce-all-givs -CFLAGS += -ffast-math +CFLAGS += -O3 ############################################################################## # Compiler flags for linking stage -- 2.40.0