Skip to content

Commit

Permalink
Add ASIO event-loop support
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed Sep 4, 2021
1 parent e0f25b0 commit d40c2d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ ifeq ($(WITH_LIBUV),1)
override LDFLAGS += -luv
endif

# WITH_ASIO=1 builds with ASIO as event-loop
ifeq ($(WITH_ASIO),1)
override CXXFLAGS += -pthread
override LDFLAGS += -lpthread
endif

# WITH_ASAN builds with sanitizers
ifeq ($(WITH_ASAN),1)
override CXXFLAGS += -fsanitize=address -g
Expand Down
2 changes: 1 addition & 1 deletion uSockets

0 comments on commit d40c2d1

Please sign in to comment.