1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

On FreeBSD-5.3 systems before importing of lrintf into math.h mplayer

can't be linked if WITH_OPTIMIZED_CFLAGS is defined.

PR:		ports/79119
Submitted by:	maintainer
This commit is contained in:
Volker Stolz 2005-04-11 20:23:45 +00:00
parent c24d7517ae
commit e43ea85e8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133076

View File

@ -1,5 +1,17 @@
--- configure.orig Thu Dec 23 16:36:00 2004
+++ configure Mon Mar 14 21:58:48 2005
+++ configure Tue Mar 22 10:50:03 2005
@@ -29,9 +29,9 @@
echo >> "$TMPLOG"
cat "$TMPC" >> "$TMPLOG"
echo >> "$TMPLOG"
- echo "$_cc $CFLAGS $_inc_extra $_ld_static $_ld_extra $TMPC -o $TMPO $@" >> "$TMPLOG"
+ echo "$_cc $CFLAGS -fno-fast-math $_inc_extra $_ld_static $_ld_extra $TMPC -o $TMPO $@" >> "$TMPLOG"
rm -f "$TMPO"
- ( $_cc $CFLAGS $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1
+ ( $_cc $CFLAGS -fno-fast-math $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1
TMP="$?"
echo >> "$TMPLOG"
echo "ldd $TMPO" >> "$TMPLOG"
@@ -359,7 +359,7 @@