--- test/Makefile.am.orig 2018-03-11 07:55:53 UTC +++ test/Makefile.am @@ -1,9 +1,9 @@ -CFLAGS_BASE = -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"$(datadir)/libpostal"' -g +CFLAGS_BASE = -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"$(datadir)"' 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 +DEFAULT_INCLUDES = -I.. CFLAGS = $(CFLAGS_BASE) @@ -11,4 +11,4 @@ TESTS = test_libpostal noinst_PROGRAMS = test_libpostal test_libpostal_SOURCES = test.c test_expand.c test_parser.c test_transliterate.c test_numex.c test_trie.c test_string_utils.c test_crf_context.c ../src/strndup.c ../src/file_utils.c ../src/string_utils.c ../src/utf8proc/utf8proc.c ../src/trie.c ../src/trie_search.c ../src/transliterate.c ../src/numex.c ../src/features.c test_libpostal_LDADD = ../src/libpostal.la ../src/libscanner.la $(CBLAS_LIBS) -test_libpostal_CFLAGS = $(CFLAGS_O3) +test_libpostal_CFLAGS = $(CFLAGS_BASE)