debian/patches: Add 1002_stdc++11.patch. Use -std=c++11 (instead of -std=c++98) in CXXFLAGS.
This commit is contained in:
14
debian/patches/1002_stdc++11.patch
vendored
Normal file
14
debian/patches/1002_stdc++11.patch
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
Description: Enable -std=c++11 (instead of -std=c++98) via CXXFLAGS
|
||||
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -100,7 +100,7 @@
|
||||
-Wcast-align -Wsign-compare \
|
||||
-std=gnu89 \
|
||||
$CFLAGS"
|
||||
- CXXFLAGS="-Wall -std=c++98 $CXXFLAGS"
|
||||
+ CXXFLAGS="-Wall -std=c++11 $CXXFLAGS"
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -1 +1,2 @@
|
||||
1001_search-for-libsystemd-dev.patch
|
||||
1002_stdc++11.patch
|
||||
|
Reference in New Issue
Block a user