1*4882a593SmuzhiyunMove LDFLAGS+=-lm option to the end. 2*4882a593SmuzhiyunThe order of the math library directive '-lm' matters. 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunSigned-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com> 5*4882a593Smuzhiyun--- 6*4882a593Smuzhiyundiff -Nurp httping-2.3.4_orig/Makefile httping-2.3.4/Makefile 7*4882a593Smuzhiyun--- httping-2.3.4_orig/Makefile 2014-07-23 16:16:36.495546288 +0530 8*4882a593Smuzhiyun+++ httping-2.3.4/Makefile 2014-07-23 16:18:42.547541002 +0530 9*4882a593Smuzhiyun@@ -37,7 +37,6 @@ DEBUG=yes 10*4882a593Smuzhiyun WFLAGS=-Wall -W 11*4882a593Smuzhiyun OFLAGS= 12*4882a593Smuzhiyun CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" -DLOCALEDIR=\"$(LOCALEDIR)\" 13*4882a593Smuzhiyun-LDFLAGS+=-lm 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun PACKAGE=$(TARGET)-$(VERSION) 16*4882a593Smuzhiyun PREFIX?=/usr 17*4882a593Smuzhiyun@@ -97,6 +96,8 @@ ifeq ($(ARM),yes) 18*4882a593Smuzhiyun CC=arm-linux-gcc 19*4882a593Smuzhiyun endif 20*4882a593Smuzhiyun 21*4882a593Smuzhiyun+LDFLAGS+=-lm 22*4882a593Smuzhiyun+ 23*4882a593Smuzhiyun all: $(TARGET) $(TRANSLATIONS) 24*4882a593Smuzhiyun 25*4882a593Smuzhiyun $(TARGET): $(OBJS) 26