summaryrefslogtreecommitdiff
blob: 60172a814d2cddac778aaf3842480913099bb871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From Michael Orlitzky <michael@orlitzky.com> in the original version
of the patch:

This was added upstream when it was pointed out that the codebase
contains undefined behavior that triggers glibcxx's assertions.
Disabling the assertions without fixing the undefined behavior is not
a satisfactory solution, so we drop the override.

diff --git a/configure.ac b/configure.ac
index 96b0223..cdc5618 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,7 +48,7 @@ AC_CHECK_FUNCS(tgammaf)
 dnl avoid "security" checks for vectors is also included in first.h
 dnl use -std=c++17 -march=native  for vectorclass v2 optimizations
 dnl -DUSE_OBJET_BIDON added because xcas::localisation() does not load locales correctly for modules loaded before main() is executed
-CXXFLAGS="$CXXFLAGS  -U_GLIBCXX_ASSERTIONS -DUSE_OBJET_BIDON"
+CXXFLAGS="$CXXFLAGS -DUSE_OBJET_BIDON"
 
 dnl Define DOUBLEVAL if bigendian
 if test "x$ac_cv_c_bigendian" = "xyes"; then