summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-03-30 22:41:11 +0200
committerRobin Gareus <robin@gareus.org>2020-03-30 22:41:11 +0200
commit83cd796a474f746534968caff36ea0893d6a5464 (patch)
tree2ec719a69a4fbb0908ab46f7963f2bb67d956267 /wscript
parent3df530e7f6521a74d5184c6de04589cd762c5f12 (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--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index aecfa8036e..8730ad5dc8 100644
--- a/wscript
+++ b/wscript
@@ -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)