Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
node-sqlite3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
node-sqlite3
Commits
11fd190b
Commit
11fd190b
authored
Sep 12, 2017
by
Dane Springmeyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only apply gcc-preinclude.h for binaries on travis
parent
a18ca2e0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
.travis.yml
.travis.yml
+3
-2
binding.gyp
binding.gyp
+0
-1
sqlite3.gyp
deps/sqlite3.gyp
+1
-3
No files found.
.travis.yml
View file @
11fd190b
...
...
@@ -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;
binding.gyp
View file @
11fd190b
...
...
@@ -31,7 +31,6 @@
}
]
],
"cflags": [ "-include ../src/gcc-preinclude.h" ],
"sources": [
"src/database.cc",
"src/node_sqlite3.cc",
...
...
deps/sqlite3.gyp
View file @
11fd190b
...
...
@@ -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',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment