mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
add some more optimization arguments to gcc
This commit is contained in:
@@ -13,7 +13,7 @@ PROGRAM = $(BINPATH)/$(PROGRAM_NAME)
|
||||
all : release
|
||||
|
||||
debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(INCLUDES)
|
||||
release : CFLAGS = -O3 -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES)
|
||||
release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES)
|
||||
|
||||
LFLAGS = -L$(LIBPATH)
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ DYNAMIC_LIB = $(LIBPATH)/$(LIB_NAME).so
|
||||
all : release
|
||||
|
||||
debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(INCLUDES)
|
||||
release : CFLAGS = -O3 -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES)
|
||||
release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES)
|
||||
|
||||
LFLAGS = -L$(LIBPATH)
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
|
||||
if test x$debug = xtrue; then
|
||||
CFLAGS="$CFLAGS -g -O0 -DDEBUG"
|
||||
else
|
||||
CFLAGS="$CFLAGS -O3 -DNDEBUG"
|
||||
CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG"
|
||||
fi
|
||||
|
||||
AC_OUTPUT( Makefile \
|
||||
|
||||
Reference in New Issue
Block a user