[fix] Ubuntu build

This commit is contained in:
Al
2015-12-28 17:19:50 -05:00
parent 77ccd975c4
commit 1b0567a881
2 changed files with 3 additions and 2 deletions

View File

@@ -1,10 +1,11 @@
SUBDIRS = sparkey
CFLAGS_BASE = -I.. -I/usr/local/include -Wfloat-equal -Wpointer-arith
CFLAGS_BASE = -Wfloat-equal -Wpointer-arith
CFLAGS_O0 = $(CFLAGS_BASE) -O0
CFLAGS_O1 = $(CFLAGS_BASE) -O1
CFLAGS_O2 = $(CFLAGS_BASE) -O2
CFLAGS_O3 = $(CFLAGS_BASE) -O3
DEFAULT_INCLUDES = -I.. -I/usr/local/include
CFLAGS = $(CFLAGS_BASE)

View File

@@ -1,3 +1,4 @@
CFLAGS = -I/usr/local/include -O2 -Wall -Wextra -Wfloat-equal -Wshadow -Wpointer-arith -Werror -pedantic
noinst_LTLIBRARIES = libsparkey.la
libsparkey_la_SOURCES = endiantools.h hashheader.h logheader.h \
@@ -6,5 +7,4 @@ logreader.c returncodes.c util.c buf.h hashalgorithms.h hashiter.h \
sparkey.h util.h endiantools.c \
hashheader.c hashreader.c logheader.c logwriter.c MurmurHash3.c \
sparkey-internal.h
libsparkey_la_CFLAGS = -I/usr/local/include -O2 -Wall -Wextra -Wfloat-equal -Wshadow -Wpointer-arith -Werror -pedantic
libsparkey_la_LDFLAGS = -L/usr/local/lib