Skip to content

Instantly share code, notes, and snippets.

@jbergstroem
Created March 10, 2015 00:47
Show Gist options
  • Save jbergstroem/a6dda67655b105c681e5 to your computer and use it in GitHub Desktop.
Save jbergstroem/a6dda67655b105c681e5 to your computer and use it in GitHub Desktop.
--- io.js/configure 2015-03-06 14:39:56.000000000 +1100
+++ configure 2015-03-10 11:47:12.000000000 +1100
@@ -39,13 +39,15 @@
action='store',
dest='dest_cpu',
help='CPU architecture to build for. '
- 'Valid values are: arm, arm64, ia32, mips, mipsel, x32, x64')
+ 'Valid values are: arm, arm64, ia32, mips, mipsel, x32, x64',
+ default=os.environ.get('DESTCPU', None))
parser.add_option('--dest-os',
action='store',
dest='dest_os',
help='operating system to build for. Valid values are: '
- 'win, mac, solaris, freebsd, openbsd, linux, android')
+ 'win, mac, solaris, freebsd, openbsd, linux, android',
+ default=os.environ.get('OSTYPE', None))
parser.add_option('--gdb',
action='store_true',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment