Skip to content

Commit

Permalink
Merge pull request markfasheh#54 from Nefelim4ag/master
Browse files Browse the repository at this point in the history
Fix building, move -lm flag
  • Loading branch information
markfasheh committed Apr 17, 2015
2 parents d4be30a + c04d51e commit 1ebecc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ VER=0.10-dev
RELEASE=v$(VER)

CC = gcc
CFLAGS = -Wall -ggdb -lm
CFLAGS = -Wall -ggdb

MANPAGES=duperemove.8 btrfs-extent-same.8 hashstats.8 show-shared-extents.8

Expand Down Expand Up @@ -45,7 +45,7 @@ glib_LIBS=$(shell pkg-config --libs glib-2.0)

override CFLAGS += -D_FILE_OFFSET_BITS=64 -DVERSTRING=\"$(RELEASE)\" \
$(hash_CFLAGS) $(glib_CFLAGS) -rdynamic
LIBRARY_FLAGS += $(hash_LIBS) $(glib_LIBS)
LIBRARY_FLAGS += $(hash_LIBS) $(glib_LIBS) -lm

# make C=1 to enable sparse
ifdef C
Expand Down

0 comments on commit 1ebecc2

Please sign in to comment.