diff options
author | Robin Gareus <robin@gareus.org> | 2020-03-30 22:41:11 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-03-30 22:41:11 +0200 |
commit | 83cd796a474f746534968caff36ea0893d6a5464 (patch) | |
tree | 2ec719a69a4fbb0908ab46f7963f2bb67d956267 /wscript | |
parent | 3df530e7f6521a74d5184c6de04589cd762c5f12 (diff) |
GNU libc 2.31 compatibility
Optimized builds of Ardour use various _finite math methods
(due to -ffast-math). Those functions have apparently been
removed, and replaced with macros and are no longer available
in libm/libc++.
see also
https://discourse.ardour.org/t/a-eq-and-a-comp-fail-on-manjaro-xfce/103122
https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00001.html
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ compiler_flags_dictionaries= { # Flags to use posix pipes between compiler stages 'pipe' : '-pipe', # Flags for maximally optimized build - 'full-optimization' : [ '-O3', '-fomit-frame-pointer', '-ffast-math', '-fstrength-reduce', ], + 'full-optimization' : [ '-O3', '-fomit-frame-pointer', '-ffast-math', '-fstrength-reduce', '-fno-finite-math-only' ], # Flag to ensure that compiler error output includes column/line numbers 'show-column' : '-fshow-column', # Flags required to build for x86 only (OS X feature) |