File: 0010-Compile-without-optimisation.patch

package info (click to toggle)
pyxplot 0.9.2-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,312 kB
  • sloc: ansic: 50,373; xml: 1,339; python: 570; sh: 318; makefile: 90
file content (24 lines) | stat: -rw-r--r-- 732 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Stuart Prescott <stuart@debian.org>
Date: Mon, 15 Sep 2025 03:00:20 +1000
Subject: Compile without optimisation

Causes FTBFS

Closes: #1097683
---
 Makefile.skel | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.skel b/Makefile.skel
index 74b7e72..db44d6b 100644
--- a/Makefile.skel
+++ b/Makefile.skel
@@ -46,7 +46,7 @@ COMPILE = $(CC) -Wall -g `pkg-config --cflags libxml-2.0` `gsl-config --cflags`
 LIBS    = $(LINK_FFTW) `pkg-config --libs libxml-2.0` `gsl-config --libs` $(LINK_READLINE) -lz -lpng $(LINK_KPATHSEA) -lm
 LINK    = $(CC) -Wall -g
 
-OPTIMISATION = -O2
+OPTIMISATION = -O0
 
 DEBUG   = -D DEBUG=1 -D MEMDEBUG1=1 -D MEMDEBUG2=0
 NODEBUG = -D DEBUG=0 -D MEMDEBUG1=0 -D MEMDEBUG2=0