summaryrefslogtreecommitdiff
path: root/audio/faad
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-01 19:56:58 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2003-04-01 19:56:58 +0000
commit9a16d0a927cdb2fe9e0f309a5caf9b201fd6672d (patch)
treecbf5e4fd0fdc28b689d9d8ad9a13cd887ac0fa09 /audio/faad
parentUpdate to 0.91 (diff)
Link with CXX to avoid missing symbols in library implemented in C++.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=77924
Diffstat (limited to 'audio/faad')
-rw-r--r--audio/faad/files/patch-frontend-Makefile.am15
1 files changed, 11 insertions, 4 deletions
diff --git a/audio/faad/files/patch-frontend-Makefile.am b/audio/faad/files/patch-frontend-Makefile.am
index 8d030ac757ca..8f2bdd00ec07 100644
--- a/audio/faad/files/patch-frontend-Makefile.am
+++ b/audio/faad/files/patch-frontend-Makefile.am
@@ -1,8 +1,15 @@
--- frontend/Makefile.am.orig Thu Jul 25 10:22:25 2002
-+++ frontend/Makefile.am Wed Jan 8 21:30:40 2003
-@@ -6,4 +6,4 @@
- CFLAGS = -O2 -D_FILE_OFFSET_BITS=64
++++ frontend/Makefile.am Mon Mar 31 20:07:32 2003
+@@ -2,8 +2,9 @@
+
+ faad_SOURCES = main.c audio.c
+
+-CXXFLAGS = -O2
+-CFLAGS = -O2 -D_FILE_OFFSET_BITS=64
++CXXFLAGS = -O -pipe
++CFLAGS = -O -pipe -D_FILE_OFFSET_BITS=64
++CCLD=$(CXX)
INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2
LDFLAGS =
--LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile
+-LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile
+LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile -lgnugetopt