Commit 65c41cc5 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

config.mk.in: Disable terminfo support on iOS

Test Plan: Validate

Reviewers: angerman, austin, rwbarton

Subscribers: thomie, snowleopard

Differential Revision: https://phabricator.haskell.org/D3242
parent fc6c222b
......@@ -103,10 +103,13 @@ GhcProfiled=NO
# WITH_TERMINFO can be used to disable terminfo support throughout the compiler
# and its tools. This is handy in the case of cross-compilation, where we may
# not have an ncurses build for the target.
ifeq "$(Windows_Target)" "NO"
WITH_TERMINFO=YES
else
ifeq "$(TargetOS_CPP)" "ios"
# iOS has no terminfo support
WITH_TERMINFO=NO
else ifeq "$(Windows_Target)" "YES"
WITH_TERMINFO=NO
else
WITH_TERMINFO=YES
endif
ifeq "$(findstring $(TargetOS_CPP),linux freebsd dragonfly openbsd netbsd solaris2 kfreebsdgnu haiku linux-android)" ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment