Commit c77e7097 authored by Loren Merritt's avatar Loren Merritt

tweak cflags


git-svn-id: svn://svn.videolan.org/x264/trunk@242 df754926-b1dd-0310-bc7b-ec298dee348c
parent e85db920
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment