From: Ben Pfaff Date: Sun, 2 Sep 2012 00:10:29 +0000 (-0700) Subject: utils/Makefile: Use LOADLIBES instead of LDFLAGS to link the math library. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=231e61ee5370c93ba90af9525c0a9df34d87f0f1;p=pintos-anon utils/Makefile: Use LOADLIBES instead of LDFLAGS to link the math library. Matthew Pirocchi , via John Ousterhout reports that this fixes a problem on his system. --- diff --git a/src/utils/Makefile b/src/utils/Makefile index 46a9124..e38eb1f 100644 --- a/src/utils/Makefile +++ b/src/utils/Makefile @@ -2,7 +2,7 @@ all: setitimer-helper squish-pty squish-unix CC = gcc CFLAGS = -Wall -W -LDFLAGS = -lm +LOADLIBES = -lm setitimer-helper: setitimer-helper.o squish-pty: squish-pty.o squish-unix: squish-unix.o