File: cpp14.patch

package info (click to toggle)
seer 1.1.4-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,692 kB
  • sloc: cpp: 2,945; perl: 596; python: 122; makefile: 93; sh: 43
file content (17 lines) | stat: -rw-r--r-- 701 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: building with c++-14 in the flags as dlib requires it
Author: Pierre Gruet <pgt@debian.org>
Bug-Debian: https://bugs.debian.org/1074123
Forwarded: not-needed
Last-Update: 2024-06-16

--- a/src/Makefile
+++ b/src/Makefile
@@ -11,7 +11,7 @@
 #COMBINE_LDLIBS=-L../gzstream -L$(PREFIX)/lib -lgzstream -lz -lboost_program_options
 #FILTER_LDLIBS=-L$(PREFIX)/lib -lboost_program_options -mkl
 # gcc
-CXXFLAGS+=-Wall -O3 -std=c++11
+CXXFLAGS+=-Wall -O3 -std=c++14
 SEER_LDLIBS=-lhdf5 -lgzstream -lz -larmadillo -lboost_program_options -llapack -lblas -lpthread $(LDFLAGS)
 MAP_LDLIBS=-lboost_program_options -lpthread $(LDFLAGS)
 COMBINE_LDLIBS=-lgzstream -lz -lboost_program_options $(LDFLAGS)