| 1 | diff --git a/js/src/configure b/js/src/configure |
| 2 | --- a/js/src/configure |
| 3 | +++ b/js/src/configure |
| 4 | @@ -8886,11 +8886,11 @@ if test "$GNU_CC"; then |
| 5 | if test -z "$DEVELOPER_OPTIONS"; then |
| 6 | CFLAGS="$CFLAGS -ffunction-sections -fdata-sections" |
| 7 | CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections" |
| 8 | fi |
| 9 | CFLAGS="$CFLAGS -fno-math-errno" |
| 10 | - CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno" |
| 11 | + CXXFLAGS="$CXXFLAGS -fno-exceptions -fno-math-errno -fno-delete-null-pointer-checks" |
| 12 | fi |
| 13 | |
| 14 | |
| 15 | # Check whether --enable-icf or --disable-icf was given. |
| 16 | if test "${enable_icf+set}" = set; then |