projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f074169
)
makefile: Add the option to use libtermcap
author
Robert Ou
<rqou@robertou.com>
Mon, 17 Jul 2017 21:21:59 +0000
(14:21 -0700)
committer
Robert Ou
<rqou@robertou.com>
Mon, 17 Jul 2017 21:21:59 +0000
(14:21 -0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index ffb5db823c8c51d2193fb72fbd265058d03274f8..81d718430c4a0f70e41d2cdd9ab9fbbf07e88f02 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-19,6
+19,7
@@
ENABLE_LIBYOSYS := 0
ENABLE_GPROF := 0
ENABLE_NDEBUG := 0
LINK_CURSES := 0
+LINK_TERMCAP := 0
# clang sanitizers
SANITIZER =
@@
-213,6
+214,10
@@
ifeq ($(LINK_CURSES),1)
LDLIBS += -lcurses
ABCMKARGS += "ABC_READLINE_LIBRARIES=-lcurses -lreadline"
endif
+ifeq ($(LINK_TERMCAP),1)
+LDLIBS += -ltermcap
+ABCMKARGS += "ABC_READLINE_LIBRARIES=-lreadline -ltermcap"
+endif
ifeq ($(CONFIG),mxe)
LDLIBS += -ltermcap
endif