[Scummvm-devel] moving -lm from LDFLAGS to LIBS

Angus Lees alees at google.com
Sat Jul 3 09:21:11 CEST 2010


I'm about to do this to ./configure.  Does anyone have a particular reason
to have -lm in LDFLAGS rather than LIBS?

@@ -1987,7 +1987,7 @@
 cat > $TMPC << EOF
 int main(void) { return 0; }
 EOF
-cc_check -lm && LDFLAGS="$LDFLAGS -lm"
+cc_check -lm && LIBS="$LIBS -lm"

 #
 # Check for Ogg Vorbis
@@ -2490,12 +2490,36 @@

 - Gus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scummvm.org/pipermail/scummvm-devel/attachments/20100703/8ae9ea28/attachment.html>


More information about the Scummvm-devel mailing list