[build] Defining LIBPOSTAL_DATA_DIR at compile time, not configure

This commit is contained in:
Al
2016-01-30 02:18:04 -05:00
parent 45607e659e
commit 9b3296914a
3 changed files with 4 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
CFLAGS_BASE = -Wfloat-equal -Wpointer-arith -std=gnu99
CFLAGS_BASE = -Wfloat-equal -Wpointer-arith -std=gnu99 -DLIBPOSTAL_DATA_DIR='"$(datadir)/libpostal"'
CFLAGS_O0 = $(CFLAGS_BASE) -O0
CFLAGS_O1 = $(CFLAGS_BASE) -O1
CFLAGS_O2 = $(CFLAGS_BASE) -O2