File: 0004-Enable-C-11-for-OpenCV-4.patch

package info (click to toggle)
darknet 0.0.0%2Bgit20180914.61c9d02e-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,528 kB
  • sloc: ansic: 28,478; python: 310; makefile: 115; cpp: 105; xml: 83; sh: 43
file content (25 lines) | stat: -rw-r--r-- 506 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
From 85cec9d751b27123b6333f2a9230d5fb994d80e2 Mon Sep 17 00:00:00 2001
From: Tiago Koji Castro Shibata <tiago.shibata@gmail.com>
Date: Tue, 12 Mar 2019 18:54:28 -0300
Subject: [PATCH 4/5] Enable C++11 for OpenCV 4

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c148d4b..fa6edd5 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ EXEC=darknet
 OBJDIR=./obj/
 
 CC=gcc
-CPP=g++
+CPP=g++ -std=c++11
 NVCC=nvcc 
 AR=ar
 ARFLAGS=rcs
-- 
2.23.0