Skip to content

Commit 61247d6

Browse files
committed
Add some sane CROSS_COMPILE defaults.
1 parent b04c688 commit 61247d6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,11 @@ set(LLVM_LD "${LLVM_PATH}/bin/llvm-link" CACHE STRING "Command to link LLVM bitc
185185
#
186186
option(CROSS_COMPILE "Build llvm-luac as a cross-compiler" OFF)
187187
set(CROSS_ARCH "arm" CACHE STRING "Cross-compiler target.")
188-
set(CROSS_TRIPLE "arm-apple-darwin9" CACHE STRING "Cross-compiler target triple.")
189-
set(CROSS_CPU "arm1176jzf-s" CACHE STRING "Cross-compiler target cpu name.")
190-
set(CROSS_ISYSTEM "" CACHE STRING "Path to target system includes.")
188+
set(CROSS_TRIPLE "arm-linux-gnueabi" CACHE STRING "Cross-compiler target triple.")
189+
set(CROSS_CPU "arm926ej-s" CACHE STRING "Cross-compiler target cpu name.")
190+
set(CROSS_ISYSTEM
191+
"/usr/lib/gcc/arm-linux-gnueabi/4.6.3/include:/usr/lib/gcc/arm-linux-gnueabi/4.6.3/include-fixed:/usr/arm-linux-gnueabi/usr/include/"
192+
CACHE STRING "Path to target system includes.")
191193

192194
#
193195
# LuaCoco options

0 commit comments

Comments
 (0)