Add -D_BSD_SOURCE to ARCH_DEP_CPPFLAGS. This is needed to get the
prototype for gethostname() in unistd.h as needed by cacChannelIO.cpp. Add -DIOCSH_USE_READLINE and -lreadline.
This commit is contained in:
@@ -29,10 +29,11 @@ AR = ar -rc
|
||||
ARFLAGS =
|
||||
RANLIB = ranlib -t
|
||||
|
||||
#ARCH_DEP_CPPFLAGS += -D_BSD_SOURCE
|
||||
ARCH_DEP_CPPFLAGS += -D_BSD_SOURCE
|
||||
ARCH_DEP_CPPFLAGS += -DIOCSH_USE_READLINE
|
||||
ARCH_DEP_CPPFLAGS += -D_X86_ -Dlinux
|
||||
|
||||
ARCH_DEP_LDFLAGS =
|
||||
###ARCH_DEP_LDLIBS = -ldl -lpthread
|
||||
ARCH_DEP_LDLIBS = -lpthread
|
||||
ARCH_DEP_LDLIBS = -lpthread -lreadline
|
||||
|
||||
|
||||
Reference in New Issue
Block a user