diff options
author | Gennadiy Civil <misterg@google.com> | 2018-09-25 15:54:29 -0400 |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-09-25 15:54:29 -0400 |
commit | c159a7719ca3ed8c7c2323236eba49f035f7767d (patch) | |
tree | 68de7deac9aa8ef4a78e409dcdc6c200c3d45822 | |
parent | e2f45b1bb85fab5db5326a1cd8feb8750765ab79 (diff) | |
download | googletest-c159a7719ca3ed8c7c2323236eba49f035f7767d.tar.gz googletest-c159a7719ca3ed8c7c2323236eba49f035f7767d.tar.bz2 googletest-c159a7719ca3ed8c7c2323236eba49f035f7767d.zip |
autotools c++11
-rw-r--r-- | Makefile.am | 2 | ||||
-rwxr-xr-x | ci/build-linux-autotools.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 433eefeb..dca37c85 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 diff --git a/ci/build-linux-autotools.sh b/ci/build-linux-autotools.sh index 8954a4f0..385e8c21 100755 --- a/ci/build-linux-autotools.sh +++ b/ci/build-linux-autotools.sh @@ -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} |