File: ldflags.patch

package info (click to toggle)
nauty 2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 100,416 kB
  • sloc: ansic: 125,567; sh: 4,157; makefile: 4,129
file content (21 lines) | stat: -rw-r--r-- 833 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Add missing LDFLAGS when building dreadnaut tests.
Author: Doug Torrance <dtorrance@debian.org>
Forwarded: yes (email to Brendan McKay)
Last-Update: 2025-12-07

--- a/makefile.in
+++ b/makefile.in
@@ -852,9 +852,11 @@
 	    naugraph.c nausparse.c naurng.o schreier.c gtools.c \
 	    traces.c ${LDFLAGS}
 dreadtestQ1 : dreadnaut.c ${GTOOLSH} nautyQ1.a
-	${CC} -o dreadtestQ1 ${CFLAGS} ${Q1} -DDREADTEST dreadnaut.c nautyQ1.a
+	${CC} -o dreadtestQ1 ${CFLAGS} ${Q1} -DDREADTEST dreadnaut.c nautyQ1.a \
+	    ${LDFLAGS}
 dreadtestQ : dreadnaut.c ${GTOOLSH} nautyQ.a
-	${CC} -o dreadtestQ ${CFLAGS} ${Q} -DDREADTEST dreadnaut.c nautyQ.a
+	${CC} -o dreadtestQ ${CFLAGS} ${Q} -DDREADTEST dreadnaut.c nautyQ.a \
+            ${LDFLAGS}
 
 checks6 : checks6.c ${GTOOLSH} gtools.o
 	${CC} -o checks6 ${CFLAGS} checks6.c gtools.o