[fix] Ubuntu build
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user