m3dev

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit bdbe4957e7c9c0a82a878000e21a96e5619930fa
parent 511f74d0b8278686633b0a0a23a0ceb96154e138
Author: Brian Swetland <swetland@frotz.net>
Date:   Sat, 20 Jun 2015 18:59:44 -0700

build: host binaries need pthreads and interruptible linenoise

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -43,6 +43,7 @@ UNAME_M := $(shell uname -m) HOST_CFLAGS := -g -O1 -Wall HOST_CFLAGS += -Itools -Iinclude +HOST_CFLAGS += -DLINENOISE_INTERRUPTIBLE ifeq ($(UNAME),Darwin) HOST_CFLAGS += -I/opt/local/include -L/opt/local/lib @@ -50,7 +51,7 @@ HOST_LIBS += -lusb-1.0 endif ifeq ($(UNAME),Linux) HOST_CFLAGS += -DWITH_THUMB2_DISASSEMBLE=1 -HOST_LIBS += -lusb-1.0 +HOST_LIBS += -lusb-1.0 -lpthread -lrt endif OUT := out