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:
W. Eric Norum
2000-05-25 18:43:18 +00:00
parent b323d16eab
commit 900f32c792

View File

@@ -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