Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

build improvements #14

Merged
merged 2 commits into from

2 participants

Roman Shtylman James Halliday
Roman Shtylman
  • build wtih -O3 for optimized version
  • add link flags from environment (fixes building with macports)
Roman Shtylman

Ping? Comments on this?

James Halliday substack merged commit 39d8e06 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 30, 2011
  1. Roman Shtylman
Commits on Dec 9, 2011
  1. Roman Shtylman
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  wscript
3  wscript
View
@@ -11,12 +11,13 @@ def configure(conf):
conf.check_tool('compiler_cxx')
conf.env.append_value('LINKFLAGS', ['-lgmp']);
conf.check_tool('node_addon')
+ conf.link_add_flags()
def build(bld):
obj = bld.new_task_gen('cxx', 'shlib', 'node_addon')
obj.target = 'bigint'
obj.source = 'bigint.cc'
- obj.cxxflags = ["-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE"]
+ obj.cxxflags = ["-O3"]
obj.includes = """
%s/include
/opt/local/include
Something went wrong with that request. Please try again.