projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b73d3f
)
Added optional flag for linking curses with readline.
author
oldtopman
<oldtopman@gmail.com>
Tue, 22 Nov 2016 06:11:58 +0000
(23:11 -0700)
committer
oldtopman
<oldtopman@gmail.com>
Tue, 22 Nov 2016 06:11:58 +0000
(23:11 -0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index aba77753d6cb7ecdf0a3aaaa4585ef26a08e28ab..567b1a5a13b25ca2ccd39c1a561c6567ce6031e4 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-18,6
+18,7
@@
ENABLE_LIBYOSYS := 0
# other configuration flags
ENABLE_GPROF := 0
ENABLE_NDEBUG := 0
+LINK_CURSES := 0
# clang sanitizers
SANITIZER =
@@
-196,6
+197,10
@@
endif
ifeq ($(ENABLE_READLINE),1)
CXXFLAGS += -DYOSYS_ENABLE_READLINE
LDLIBS += -lreadline
+ifeq ($(LINK_CURSES),1)
+LDLIBS += -lcurses
+ABCMKARGS += "ABC_READLINE_LIBRARIES=-lcurses -lreadline"
+endif
ifeq ($(CONFIG),mxe)
LDLIBS += -lpdcurses
endif