]> granicus.if.org Git - libx264/commitdiff
tweak cflags
authorLoren Merritt <pengvado@videolan.org>
Mon, 30 May 2005 01:52:00 +0000 (01:52 +0000)
committerLoren Merritt <pengvado@videolan.org>
Mon, 30 May 2005 01:52:00 +0000 (01:52 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@242 df754926-b1dd-0310-bc7b-ec298dee348c

configure
vfw/build/cygwin/Makefile

index f90b2d2d8703c1f545e3ad62efb7d83c53c19156..2e0ed92b8d739074cd805dcee04e5c4f896dbc46 100755 (executable)
--- 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
index b5a6de167a4abcff6e31ca17632555a64b380aa8..3119314092ba1b7b8edbf41a9b6e471c717706ab 100644 (file)
@@ -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