mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-06 20:45:54 +01:00
optionally (compile-time change for now) store message data as
b64-encoded TEXT instead of BYTEA, which on my laptop is getting corrupted sometimes.
This commit is contained in:
parent
d374d0f3d8
commit
2744e8698c
1 changed files with 8 additions and 6 deletions
|
@ -41,12 +41,14 @@ HASH=$(shell git describe)
|
|||
|
||||
OBJ = $(patsubst %.cpp,%.o,$(SRC))
|
||||
#LDFLAGS += -pthread -g -lmcheck $(STATIC)
|
||||
LDFLAGS += -pthread -g $(STATIC) \
|
||||
-L$(shell pg_config --libdir)
|
||||
LDFLAGS += -pthread -g $(STATIC)
|
||||
LDFLAGS += -L$(shell pg_config --libdir)
|
||||
LDFLAGS += $(shell pkg-config --libs glib-2.0)
|
||||
|
||||
CPPFLAGS += -DSPAWN_SELF -g -Wall \
|
||||
-I $(shell pg_config --includedir) \
|
||||
-DSVN_REV=\"$(shell cat $(GITINFO) 2>/dev/null || echo -n $(HASH) )\"
|
||||
CPPFLAGS += -DSPAWN_SELF -g -Wall
|
||||
CPPFLAGS += -I $(shell pg_config --includedir)
|
||||
CPPFLAGS += -DSVN_REV=\"$(shell cat $(GITINFO) 2>/dev/null || echo -n $(HASH) )\"
|
||||
CPPFLAGS += $(shell pkg-config --cflags glib-2.0)
|
||||
# CPPFLAGS += -DDO_HTTP
|
||||
# CPPFLAGS += -DHAVE_STIME
|
||||
|
||||
|
@ -58,7 +60,7 @@ memdebug all: xwrelay rq
|
|||
# Manual config in order to place -lpq after the .obj files as
|
||||
# required by something Ubuntu did upgrading natty to oneiric
|
||||
xwrelay: $(OBJ)
|
||||
$(CXX) $(CPPFLAGS) $(LDFLAGS) -o $@ $^ -lpq
|
||||
$(CXX) $(CPPFLAGS) -o $@ $^ -lpq $(LDFLAGS)
|
||||
|
||||
rq: rq.c
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue