[PATCH] XCore target: add support to build MultiSource/Applications/lua

robert lytton robert at xmos.com
Thu Feb 13 11:16:11 PST 2014


robertlytton added you to the CC list for the revision "XCore target: add support to build MultiSource/Applications/lua".

xcore is not POSIX complient

http://llvm-reviews.chandlerc.com/D2773

Files:
  MultiSource/Applications/lua/Makefile

Index: MultiSource/Applications/lua/Makefile
===================================================================
--- MultiSource/Applications/lua/Makefile
+++ MultiSource/Applications/lua/Makefile
@@ -6,7 +6,9 @@
 	 loslib.c ltablib.c lstrlib.c loadlib.c linit.c lua.c
 
 LDFLAGS += -lm
+ifneq ($(ARCH),XCore)
 CPPFLAGS += -DLUA_USE_POSIX
+endif
 
 PROG = lua
 RUN_OPTIONS = alltests.lua "\<in"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2773.1.patch
Type: text/x-patch
Size: 395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/a8987d10/attachment.bin>


More information about the llvm-commits mailing list