Browse Source

Fix building in kFreeBSD

broken in 8c218bd5
pull/118/head
Kill Your TV 10 years ago
parent
commit
e5c2022f71
  1. 3
      Makefile
  2. 1
      Makefile.linux

3
Makefile

@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
UNAME := $(shell uname -s)
SHLIB := libi2pd.so
I2PD := i2p
GREP := fgrep
include filelist.mk
@ -10,7 +11,7 @@ USE_STATIC := no @@ -10,7 +11,7 @@ USE_STATIC := no
ifeq ($(UNAME),Darwin)
DAEMON_SRC += DaemonLinux.cpp
include Makefile.osx
else ifeq ($(UNAME),FreeBSD)
else ifeq ($(shell echo $(UNAME) | $(GREP) -c FreeBSD),1)
DAEMON_SRC += DaemonLinux.cpp
include Makefile.bsd
else ifeq ($(UNAME),Linux)

1
Makefile.linux

@ -36,7 +36,6 @@ else @@ -36,7 +36,6 @@ else
LDLIBS = -lcryptopp -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_program_options -lpthread
endif
GREP = fgrep
IS_64 := $(shell $(CXX) -dumpmachine 2>&1 | $(GREP) -c "64")
ifeq ($(USE_AESNI),yes)
ifeq ($(IS_64),1)

Loading…
Cancel
Save