File: allow-shlib-undefined.patch

package info (click to toggle)
nvidia-cuda-samples 12.4.1~dfsg-1
  • links: PTS, VCS
  • area: contrib
  • in suites: trixie
  • size: 313,216 kB
  • sloc: cpp: 82,042; makefile: 53,971; xml: 15,381; ansic: 8,630; sh: 91; python: 74
file content (59 lines) | stat: -rw-r--r-- 1,859 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Author: Andreas Beckmann <anbe@debian.org>
Description: fix compilation with g++-12 and libstdc++ from g++-14
Bug-Debian: https://bugs.debian.org/1105146

--- a/Samples/4_CUDA_Libraries/FilterBorderControlNPP/Makefile
+++ b/Samples/4_CUDA_Libraries/FilterBorderControlNPP/Makefile
@@ -34,6 +34,8 @@
 # Location of the CUDA Toolkit
 CUDA_PATH ?= /usr/local/cuda
 
+EXTRA_LDFLAGS	+= --allow-shlib-undefined
+
 ##############################
 # start deprecated interface #
 ##############################
--- a/Samples/4_CUDA_Libraries/boxFilterNPP/Makefile
+++ b/Samples/4_CUDA_Libraries/boxFilterNPP/Makefile
@@ -34,6 +34,8 @@
 # Location of the CUDA Toolkit
 CUDA_PATH ?= /usr/local/cuda
 
+EXTRA_LDFLAGS	+= --allow-shlib-undefined
+
 ##############################
 # start deprecated interface #
 ##############################
--- a/Samples/4_CUDA_Libraries/cannyEdgeDetectorNPP/Makefile
+++ b/Samples/4_CUDA_Libraries/cannyEdgeDetectorNPP/Makefile
@@ -34,6 +34,8 @@
 # Location of the CUDA Toolkit
 CUDA_PATH ?= /usr/local/cuda
 
+EXTRA_LDFLAGS	+= --allow-shlib-undefined
+
 ##############################
 # start deprecated interface #
 ##############################
--- a/Samples/4_CUDA_Libraries/freeImageInteropNPP/Makefile
+++ b/Samples/4_CUDA_Libraries/freeImageInteropNPP/Makefile
@@ -34,6 +34,8 @@
 # Location of the CUDA Toolkit
 CUDA_PATH ?= /usr/local/cuda
 
+EXTRA_LDFLAGS	+= --allow-shlib-undefined
+
 ##############################
 # start deprecated interface #
 ##############################
--- a/Samples/4_CUDA_Libraries/histEqualizationNPP/Makefile
+++ b/Samples/4_CUDA_Libraries/histEqualizationNPP/Makefile
@@ -34,6 +34,8 @@
 # Location of the CUDA Toolkit
 CUDA_PATH ?= /usr/local/cuda
 
+EXTRA_LDFLAGS	+= --allow-shlib-undefined
+
 ##############################
 # start deprecated interface #
 ##############################