Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
From 89b1d1dbada903a97602a2c64ca9bfde1e0534af Mon Sep 17 00:00:00 2001
From: Nathan Rajlich <nathan@tootallnate.net>
Date: Tue, 3 May 2011 08:51:53 -0700
Subject: [PATCH] Make sure 'ARCH' get's defined with the CMake build system.
---
cmake/configure.cmake | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cmake/configure.cmake b/cmake/configure.cmake
index f0cb245..cb0e2fc 100644
--- a/cmake/configure.cmake
+++ b/cmake/configure.cmake
@@ -102,6 +102,7 @@ endif()
add_definitions(
-DPLATFORM="${node_platform}"
+ -DARCH="${node_arch}"
-DX_STACKSIZE=65536
-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
--
1.7.3.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment