summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorLeon Clarke <leonclarke@google.com>2010-01-27 16:31:12 +0000
committerLeon Clarke <leonclarke@google.com>2010-01-27 16:31:12 +0000
commiteab96aab0834f21954b5d6aa6366bcfb348ed811 (patch)
treea057ce0ab4f5fa5f37a3f468c60f750488908209 /SConstruct
parent888f6729be6a6f6fbe246cb5a9f122e2dbe455b7 (diff)
downloadandroid_external_v8-eab96aab0834f21954b5d6aa6366bcfb348ed811.tar.gz
android_external_v8-eab96aab0834f21954b5d6aa6366bcfb348ed811.tar.bz2
android_external_v8-eab96aab0834f21954b5d6aa6366bcfb348ed811.zip
Revert "Pull from svn bleeding_edge@3716"
This reverts commit 888f6729be6a6f6fbe246cb5a9f122e2dbe455b7. (Waiting until v8 issue 554101 is in v8 rather than patching it straight into android)
Diffstat (limited to 'SConstruct')
-rwxr-xr-x[-rw-r--r--]SConstruct26
1 files changed, 2 insertions, 24 deletions
diff --git a/SConstruct b/SConstruct
index 2967d92e..739e3445 100644..100755
--- a/SConstruct
+++ b/SConstruct
@@ -35,6 +35,7 @@ root_dir = dirname(File('SConstruct').rfile().abspath)
sys.path.append(join(root_dir, 'tools'))
import js2c, utils
+
# ANDROID_TOP is the top of the Android checkout, fetched from the environment
# variable 'TOP'. You will also need to set the CXX, CC, AR and RANLIB
# environment variables to the cross-compiling tools.
@@ -156,11 +157,6 @@ LIBRARY_FLAGS = {
'LIBPATH' : ['/usr/local/lib'],
'CCFLAGS': ['-ansi'],
},
- 'os:solaris': {
- 'CPPPATH' : ['/usr/local/include'],
- 'LIBPATH' : ['/usr/local/lib'],
- 'CCFLAGS': ['-ansi'],
- },
'os:win32': {
'CCFLAGS': ['-DWIN32'],
'CXXFLAGS': ['-DWIN32'],
@@ -317,10 +313,6 @@ MKSNAPSHOT_EXTRA_FLAGS = {
'os:freebsd': {
'LIBS': ['execinfo', 'pthread']
},
- 'os:solaris': {
- 'LIBS': ['m', 'pthread', 'socket', 'nsl', 'rt'],
- 'LINKFLAGS': ['-mt']
- },
'os:openbsd': {
'LIBS': ['execinfo', 'pthread']
},
@@ -370,10 +362,6 @@ CCTEST_EXTRA_FLAGS = {
'os:freebsd': {
'LIBS': ['execinfo', 'pthread']
},
- 'os:solaris': {
- 'LIBS': ['m', 'pthread', 'socket', 'nsl', 'rt'],
- 'LINKFLAGS': ['-mt']
- },
'os:openbsd': {
'LIBS': ['execinfo', 'pthread']
},
@@ -432,11 +420,6 @@ SAMPLE_FLAGS = {
'LIBPATH' : ['/usr/local/lib'],
'LIBS': ['execinfo', 'pthread']
},
- 'os:solaris': {
- 'LIBPATH' : ['/usr/local/lib'],
- 'LIBS': ['m', 'pthread', 'socket', 'nsl', 'rt'],
- 'LINKFLAGS': ['-mt']
- },
'os:openbsd': {
'LIBPATH' : ['/usr/local/lib'],
'LIBS': ['execinfo', 'pthread']
@@ -546,10 +529,6 @@ D8_FLAGS = {
'os:freebsd': {
'LIBS': ['pthread'],
},
- 'os:solaris': {
- 'LIBS': ['m', 'pthread', 'socket', 'nsl', 'rt'],
- 'LINKFLAGS': ['-mt']
- },
'os:openbsd': {
'LIBS': ['pthread'],
},
@@ -603,7 +582,7 @@ SIMPLE_OPTIONS = {
'help': 'the toolchain to use (' + TOOLCHAIN_GUESS + ')'
},
'os': {
- 'values': ['freebsd', 'linux', 'macos', 'win32', 'android', 'openbsd', 'solaris'],
+ 'values': ['freebsd', 'linux', 'macos', 'win32', 'android', 'openbsd'],
'default': OS_GUESS,
'help': 'the os to build for (' + OS_GUESS + ')'
},
@@ -957,7 +936,6 @@ def BuildSpecific(env, mode, env_overrides):
# Link the object files into a library.
env.Replace(**context.flags['v8'])
-
context.ApplyEnvOverrides(env)
if context.options['library'] == 'static':
library = env.StaticLibrary(library_name, object_files)