1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/audio/snd
Don Lewis f2d252231b The configure script in this port attempts to detect the presense of
complex math support by compiling a test program containing this
statement:
	val = ccosh(cacosh(1.5) / 100.0);
This does not work with GCC 4.2 in -CURRENT because the compiler totally
optimizes away the statement, so the lack of these complex functions
in the library is not detected.  This causes the actual build to fail
because the linker is unable to find various complex math functions
in the system library.

Fix the test by declaring "val" as volatile to prevent the compiler from
optimizing away the expression.

PR:		ports/115028
2007-07-30 23:52:14 +00:00
..
files The configure script in this port attempts to detect the presense of 2007-07-30 23:52:14 +00:00
distinfo
Makefile chase math/gsl lib version 2007-06-29 05:46:43 +00:00
pkg-descr
pkg-message