Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 2d16e5d

Browse files
author
Matthias Koeppe
committed
build/pkgs/matplotlib/make-setup-config.py: Disable LTO
1 parent 415221a commit 2d16e5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/pkgs/matplotlib/make-setup-config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
config.add_section('libs')
1010
config.set('libs', 'system_freetype', 'True')
11+
# lto is problematic if we mix libraries from the OS with our own libraries,
12+
# which are not necessarily compiled with the same gcc version
13+
# https://trac.sagemath.org/ticket/27754
14+
config.set('libs', 'enable_lto', 'False')
1115

1216
#####################################################################
1317
# Sage code -- all this code just sets the graphical_backend variable.

0 commit comments

Comments
 (0)