diff options
author | Akira Hayakawa <ruby.wktk@gmail.com> | 2014-01-26 07:28:55 +0900 |
---|---|---|
committer | Gabriel <g2p.code@gmail.com> | 2014-01-26 18:34:13 +0100 |
commit | 2bc4a7f24e448967848b975a73149c10f681d3cd (patch) | |
tree | dbaa9987092b378c96a87e357b15ca2190d0cae6 | |
parent | 8ac67582357ceda528fdce6f0da59af56eac6cac (diff) | |
download | bcache-tools-2bc4a7f24e448967848b975a73149c10f681d3cd.tar.gz |
compile bcache-test
Add -lm option to compile bcache-test.
Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ DRACUTLIBDIR=/lib/dracut INSTALL=install CFLAGS+=-O2 -Wall -g -all: make-bcache probe-bcache bcache-super-show +all: make-bcache probe-bcache bcache-super-show bcache-test install: make-bcache probe-bcache bcache-super-show $(INSTALL) -m0755 make-bcache bcache-super-show $(DESTDIR)${PREFIX}/sbin/ @@ -20,7 +20,7 @@ install: make-bcache probe-bcache bcache-super-show clean: $(RM) -f make-bcache probe-bcache bcache-super-show bcache-test *.o -bcache-test: LDLIBS += `pkg-config --libs openssl` +bcache-test: LDLIBS += `pkg-config --libs openssl` -lm make-bcache: LDLIBS += `pkg-config --libs uuid blkid` make-bcache: CFLAGS += `pkg-config --cflags uuid blkid` make-bcache: bcache.o |