shithub: aacenc

Download patch

ref: 99f75acdb6cb6e70979d692c0582ab35adb0e528
parent: 18bef504ab6ba3d72f498f688f5fe75bef3ae8b2
author: knik <knik>
date: Fri Oct 17 12:41:34 EDT 2003

CFLAGS setting moved to configure

--- a/configure.in
+++ b/configure.in
@@ -3,6 +3,7 @@
 
 AM_CONFIG_HEADER(config.h)
 
+CFLAGS="-O2 -Wall"
 AC_PROG_CC
 AM_PROG_LIBTOOL
 
--- a/frontend/Makefile.am
+++ b/frontend/Makefile.am
@@ -2,8 +2,6 @@
 
 faac_SOURCES = main.c input.c
 
-CXXFLAGS = -O2
-CFLAGS = -O2 -Wall
 INCLUDES = -I$(top_srcdir)/include 
 LDFLAGS = -s
 LDADD = $(top_builddir)/libfaac/libfaac.la -lm
--- a/libfaac/Makefile.am
+++ b/libfaac/Makefile.am
@@ -3,7 +3,6 @@
 libfaac_la_SOURCES = aacquant.c bitstream.c fft.c frame.c midside.c psychkni.c util.c backpred.c channels.c filtbank.c huffman.c ltp.c tns.c
 libfaac_la_INCLUDES = aacquant.h channels.h filtbank.h hufftab.h psych.h backpred.h coder.h frame.h midside.h tns.h bitstream.h fft.h huffman.h ltp.h util.h
 
-CFLAGS = -O2 -Wall
 INCLUDES = -I$(top_srcdir)/include