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 #
##############################
|