File: ccflags.patch

package info (click to toggle)
cctools 9.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 44,624 kB
  • sloc: ansic: 192,539; python: 20,827; cpp: 20,199; sh: 11,719; perl: 4,106; xml: 3,688; makefile: 1,224
file content (17 lines) | stat: -rw-r--r-- 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Ensure we inherit CCFLAGS
  previous ccflags accidentally dropped in this section
Author: Alastair McKinstry <mckinstry@debian.org>
Last-Updated: 2020-04-18
Forwarded: no

--- a/configure
+++ b/configure
@@ -777,7 +777,7 @@
 
 	if [ "${mpi_avail}" = yes ]
 	then
-		ccflags="-DCCTOOLS_WITH_MPI"
+		ccflags="${ccflags} -DCCTOOLS_WITH_MPI"
 		ccompiler=${mpi_exe}
 		linker=${mpi_exe}
 	else