1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

- respect CFLAGS

- build on alpha

Submitted by:	Christian Weisgerber <naddy@mips.inka.de> (via private mail)
This commit is contained in:
Ying-Chieh Liao 2001-03-26 04:00:45 +00:00
parent 3a3b3aa3de
commit 1dd3f6146e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40384
2 changed files with 28 additions and 3 deletions

View File

@ -1,6 +1,21 @@
--- configure.in.orig Sun Mar 18 11:17:30 2001
+++ configure.in Sun Mar 18 11:17:44 2001
@@ -33,6 +33,7 @@
$FreeBSD$
--- configure.in.orig Fri Feb 23 22:13:02 2001
+++ configure.in Mon Mar 26 02:57:28 2001
@@ -22,17 +22,18 @@ AM_CONDITIONAL(DEBUG, test x$debug = xtr
AM_PATH_XMMS(0.9.5.1, , AC_MSG_WARN([*** XMMS >= 0.9.5.1 not installed - xmms support will not be built]))
AM_CONDITIONAL(XMMS, test x$XMMS_INPUT_PLUGIN_DIR != x)
-CFLAGS='-I./include -I $(top_srcdir)/include -Wall -W'
+CFLAGS="$CFLAGS -I./include -I \$(top_srcdir)/include"
if test x$debug = xtrue; then
- CFLAGS="$CFLAGS -g -O0 -DDEBUG"
+ CFLAGS="$CFLAGS -g -DDEBUG"
else
- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG"
+ CFLAGS="$CFLAGS -DNDEBUG"
fi
AC_OUTPUT( Makefile \
src/Makefile \
src/libFLAC/Makefile \
src/flac/Makefile \

View File

@ -0,0 +1,10 @@
$FreeBSD$
--- src/flac/Makefile.am.orig Mon Mar 26 04:28:03 2001
+++ src/flac/Makefile.am Mon Mar 26 04:28:10 2001
@@ -5,5 +5,4 @@ flac_SOURCES = \
decode.c \
encode.c \
main.c
-flac_LDFLAGS = -lm
-flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la
+flac_LDADD = $(top_builddir)/src/libFLAC/libFLAC.la -lm