Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

build improvements #14

Merged
merged 2 commits into from

2 participants

@defunctzombie
  • build wtih -O3 for optimized version
  • add link flags from environment (fixes building with macports)
@defunctzombie

Ping? Comments on this?

@substack substack merged commit 39d8e06 into substack:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 30, 2011
  1. @defunctzombie
Commits on Dec 9, 2011
  1. @defunctzombie
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  wscript
View
3  wscript
@@ -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.