Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7bfbcc4

Browse files
author
Dane Springmeyer
committed
put gcc-preinclude.h in CFLAGS as well
1 parent 23dddf8 commit 7bfbcc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build_against_node.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if [[ ${COVERAGE} == true ]]; then
2020
./py-local/bin/cpp-coveralls --exclude node_modules --exclude tests --build-root build --gcov-options '\-lp' --exclude docs --exclude build/Release/obj/gen --exclude deps > /dev/null
2121
else
2222
echo "building binaries for publishing"
23-
CXXFLAGS="${CXXFLAGS:-} -include $(pwd)/src/gcc-preinclude.h" V=1 npm install --build-from-source --clang=1
23+
CFLAGS="${CFLAGS:-} -include $(pwd)/src/gcc-preinclude.h" CXXFLAGS="${CXXFLAGS:-} -include $(pwd)/src/gcc-preinclude.h" V=1 npm install --build-from-source --clang=1
2424
nm lib/binding/*/node_sqlite3.node | grep "GLIBCXX_" | c++filt || true
2525
nm lib/binding/*/node_sqlite3.node | grep "GLIBC_" | c++filt || true
2626
npm test

0 commit comments

Comments
 (0)