diff options
author | oldtopman <oldtopman@gmail.com> | 2016-11-21 23:11:58 -0700 |
---|---|---|
committer | oldtopman <oldtopman@gmail.com> | 2016-11-21 23:11:58 -0700 |
commit | 277f47857282fbf0740eaeeaaa0325631d4bb7dd (patch) | |
tree | d13cadbd67348b4920049bb5d0b9449fb0725f15 /Makefile | |
parent | 3b73d3f140b1ebf211847fe5ece9d8b01b971bc2 (diff) | |
download | yosys-277f47857282fbf0740eaeeaaa0325631d4bb7dd.tar.gz yosys-277f47857282fbf0740eaeeaaa0325631d4bb7dd.tar.bz2 yosys-277f47857282fbf0740eaeeaaa0325631d4bb7dd.zip |
Added optional flag for linking curses with readline.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |