Browse Source

build: Add necessary build/link flags for FreeBSD.

ppa-0.6.1
Carl Dong 7 years ago
committed by Christian Decker
parent
commit
f55adbdc9c
  1. 5
      Makefile

5
Makefile

@ -148,9 +148,10 @@ ALL_PROGRAMS =
CPPFLAGS = -DBINTOPKGLIBEXECDIR='"'$(shell sh tools/rel.sh $(bindir) $(pkglibexecdir))'"'
CWARNFLAGS := -Werror -Wall -Wundef -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition
CDEBUGFLAGS := -std=gnu11 -g -fstack-protector
CFLAGS = $(CPPFLAGS) $(CWARNFLAGS) $(CDEBUGFLAGS) -I $(CCANDIR) $(EXTERNAL_INCLUDE_FLAGS) -I . $(FEATURES) $(COVFLAGS) $(DEV_CFLAGS) -DSHACHAIN_BITS=48 -DJSMN_PARENT_LINKS
CFLAGS = $(CPPFLAGS) $(CWARNFLAGS) $(CDEBUGFLAGS) -I $(CCANDIR) $(EXTERNAL_INCLUDE_FLAGS) -I . -I/usr/local/include $(FEATURES) $(COVFLAGS) $(DEV_CFLAGS) -DSHACHAIN_BITS=48 -DJSMN_PARENT_LINKS
LDLIBS = -lgmp -lsqlite3 $(COVFLAGS)
LDFLAGS = -L/usr/local/lib
LDLIBS = -lm -lgmp -lsqlite3 $(COVFLAGS)
default: all-programs all-test-programs

Loading…
Cancel
Save