autotools c++11

This commit is contained in:
Gennadiy Civil 2018-09-25 15:54:29 -04:00
parent e2f45b1bb8
commit c159a7719c
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
## Process this file with automake to produce Makefile.in
AM_CXXFLAGS = -std=gnu++11
ACLOCAL_AMFLAGS = -I m4
AUTOMAKE_OPTIONS = foreign

View File

@ -39,6 +39,6 @@ autoreconf -i
# Run in a subdirectory to keep the sources clean
mkdir build || true
cd build
../configure CXX="-std=c++11"
../configure
make -j {NPROCESSORS:-2}