THRIFT-1829 cpp unit tests fail to build using multiple make jobs
Patch: David Rennalls and Roger Meier
diff --git a/lib/c_glib/Makefile.am b/lib/c_glib/Makefile.am
old mode 100644
new mode 100755
index f72ff96..3244f74
--- a/lib/c_glib/Makefile.am
+++ b/lib/c_glib/Makefile.am
@@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
-
+.NOTPARALLEL:
SUBDIRS = . test
pkgconfigdir = $(libdir)/pkgconfig
diff --git a/lib/c_glib/test/Makefile.am b/lib/c_glib/test/Makefile.am
old mode 100644
new mode 100755
index 7f2f3e3..7fed8e8
--- a/lib/c_glib/test/Makefile.am
+++ b/lib/c_glib/test/Makefile.am
@@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
-
+.NOTPARALLEL:
SUBDIRS =
AM_CPPFLAGS = -g -Wall -I../src $(GLIB_CFLAGS)
diff --git a/lib/cpp/test/Makefile.am b/lib/cpp/test/Makefile.am
index 05ee9cc..d04cfb5 100755
--- a/lib/cpp/test/Makefile.am
+++ b/lib/cpp/test/Makefile.am
@@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
-
+.NOTPARALLEL:
noinst_LTLIBRARIES = libtestgencpp.la libprocessortest.la
nodist_libtestgencpp_la_SOURCES = \
gen-cpp/DebugProtoTest_types.cpp \
diff --git a/lib/py/Makefile.am b/lib/py/Makefile.am
old mode 100644
new mode 100755
index 4a1df57..e33bf13
--- a/lib/py/Makefile.am
+++ b/lib/py/Makefile.am
@@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
-
+.NOTPARALLEL:
DESTDIR ?= /
EXTRA_DIST = setup.py setup.cfg src compat
diff --git a/test/cpp/Makefile.am b/test/cpp/Makefile.am
index 95574fc..ec4ba99 100755
--- a/test/cpp/Makefile.am
+++ b/test/cpp/Makefile.am
@@ -16,6 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
+.NOTPARALLEL:
noinst_LTLIBRARIES = libtestgencpp.la libstresstestgencpp.la
nodist_libtestgencpp_la_SOURCES = \
gen-cpp/ThriftTest_constants.cpp \
diff --git a/test/py/Makefile.am b/test/py/Makefile.am
old mode 100644
new mode 100755
index 2317ef6..6b31769
--- a/test/py/Makefile.am
+++ b/test/py/Makefile.am
@@ -16,7 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
-
+.NOTPARALLEL:
THRIFT = $(top_srcdir)/compiler/cpp/thrift
py_unit_tests = RunClientServer.py
diff --git a/tutorial/cpp/Makefile.am b/tutorial/cpp/Makefile.am
index 0157b8d..b829845 100755
--- a/tutorial/cpp/Makefile.am
+++ b/tutorial/cpp/Makefile.am
@@ -16,6 +16,7 @@
# specific language governing permissions and limitations
# under the License.
#
+.NOTPARALLEL:
noinst_LTLIBRARIES = libtutorialgencpp.la
nodist_libtutorialgencpp_la_SOURCES = \
gen-cpp/Calculator.cpp \