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=395e245bb0917b8796a3bf6ae6be388a6fc8d7df;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