• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/httping/0001-fix-math-library-linking.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
 
1
Move LDFLAGS+=-lm option to the end.
2
The order of the math library directive '-lm' matters.
3
​
4
Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
5
---
6
diff -Nurp httping-2.3.4_orig/Makefile httping-2.3.4/Makefile
7
--- httping-2.3.4_orig/Makefile 2014-07-23 16:16:36.495546288 +0530
8
+++ httping-2.3.4/Makefile  2014-07-23 16:18:42.547541002 +0530
9
@@ -37,7 +37,6 @@ DEBUG=yes
10
 WFLAGS=-Wall -W
11
 OFLAGS=
12
 CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
13
-LDFLAGS+=-lm
14
 
15
 PACKAGE=$(TARGET)-$(VERSION)
16
 PREFIX?=/usr
17
@@ -97,6 +96,8 @@ ifeq ($(ARM),yes)
18
 CC=arm-linux-gcc
19
 endif
20
 
21
+LDFLAGS+=-lm
22
+
23
 all: $(TARGET) $(TRANSLATIONS)
24
 
25
 $(TARGET): $(OBJS)
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.