Commit 11fd190b by Dane Springmeyer

only apply gcc-preinclude.h for binaries on travis

parent a18ca2e0
......@@ -132,9 +132,10 @@ before_script:
fi
script:
- export CXXFLAGS="${CXXFLAGS:-} -include $(pwd)/src/gcc-preinclude.h"
- if [[ "${NODE_VERSION}" ]]; then ./scripts/build_against_node.sh; fi;
- nm lib/binding/*/node_sqlite3.node | grep "GLIBCXX_" || true
- nm lib/binding/*/node_sqlite3.node | grep "GLIBC_" || true
- nm lib/binding/*/node_sqlite3.node | grep "GLIBCXX_" | c++filt || true
- nm lib/binding/*/node_sqlite3.node | grep "GLIBC_" | c++filt || true
- if [[ "${NODE_VERSION}" -eq "4" ]]; then ./node_modules/.bin/eslint lib; fi;
# disabled for now: need to port to sudo:false
#- if [[ "${NODE_WEBKIT}" ]]; then ./scripts/build_against_node_webkit.sh; fi;
......@@ -31,7 +31,6 @@
}
]
],
"cflags": [ "-include ../src/gcc-preinclude.h" ],
"sources": [
"src/database.cc",
"src/node_sqlite3.cc",
......
......@@ -71,7 +71,6 @@
'dependencies': [
'action_before_build'
],
'cflags': [ '-include ../src/gcc-preinclude.h' ],
'sources': [
'<(SHARED_INTERMEDIATE_DIR)/sqlite-autoconf-<@(sqlite_version)/sqlite3.c'
],
......@@ -87,8 +86,7 @@
],
},
'cflags_cc': [
'-Wno-unused-value',
'-include ../src/gcc-preinclude.h'
'-Wno-unused-value'
],
'defines': [
'_REENTRANT=1',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment