Skip to content

Commit

Permalink
Fixed prebuilt binary compatibility with older glibc
Browse files Browse the repository at this point in the history
fixes #1580

- in the issue above, a user reported the prebuilt binaries
  were not compatible with the glibc version that CentOS 7 ships with
- it looks like CentOS 7 ships with glibc 2.17
- we already had a fix for this but the transition to a new CI setup
  regressed including them during compilation
- this commit ensures the prebuilt binaries are compatible by applying
  the linking override file we already had
  • Loading branch information
daniellockyer committed Apr 17, 2022
1 parent 74a2e31 commit 241d710
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/sqlite3.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@
'SQLITE_ENABLE_MATH_FUNCTIONS'
],
},
'cflags': [
'-include ../src/gcc-preinclude.h'
],
'cflags_cc': [
'-include ../src/gcc-preinclude.h',
'-Wno-unused-value'
],
'defines': [
Expand Down

0 comments on commit 241d710

Please sign in to comment.