Commit 22010da1 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix the build when GMP_INCLUDE_DIRS == ""

parent 24311993
......@@ -27,10 +27,13 @@ ifeq "$(GhcEnableTablesNextToCode) $(GhcUnregisterised)" "YES NO"
SRC_CC_OPTS += -DTABLES_NEXT_TO_CODE
endif
SRC_CC_OPTS += -I. -I../rts
ifeq "$(HaveLibGmp)" "YES"
SRC_CC_OPTS += -I. -I../rts -I$(GMP_INCLUDE_DIRS)
ifneq "$(GMP_INCLUDE_DIRS)" ""
SRC_CC_OPTS += -I$(GMP_INCLUDE_DIRS)
endif
else
SRC_CC_OPTS += -I. -I../rts -I../gmp/gmpbuild
SRC_CC_OPTS += -I../gmp/gmpbuild
endif
ifneq "$(GhcWithSMP)" "YES"
......
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