﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1237	"GPM: ""LDFLAGS=-lm"" not needed anymore on LFS 6.0"	lizardo@…	blfs-book@…	"GPM installation has the following configuration line: 
 
LDFLAGS=""-lm"" ./configure --prefix=/usr --sysconfdir=/etc 
 
LDFLAGS=""-lm"" is not needed anymore on LFS-6.0, whithout it GPM builds just 
fine. 
 
To test this, compile the following code on LFS-6.0: 
 
cat > math_test.c << ""EOF"" 
int main(void) {ceil (1.1);} 
EOF 
gcc -o math_test math_test.c 
 
It'll fail on pre-LFS-6.0 systems, but will succeed on newer LFS. The same 
applies for other math functions, like pow or sqrt. 
 
PS: I'm not sure if it was an expected behaviour or just a GCC/Binutils/Glibc 
bug."	defect	closed	high		BOOK	SVN	medium	fixed		
