From 69d713fc3c941c9f266358c4fb12c8c2bc5d1c85 Mon Sep 17 00:00:00 2001 From: Thomas Van Lenten Date: Wed, 2 Dec 2015 11:48:14 -0500 Subject: Ensure the conformance build of objc code is using the Mac OS X SDK and --- conformance/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'conformance') diff --git a/conformance/Makefile.am b/conformance/Makefile.am index d7bb9397..ea5edbba 100644 --- a/conformance/Makefile.am +++ b/conformance/Makefile.am @@ -38,7 +38,11 @@ bin_PROGRAMS += conformance-objc conformance_objc_SOURCES = conformance_objc.m ../objectivec/GPBProtocolBuffers.m nodist_conformance_objc_SOURCES = Conformance.pbobjc.m -conformance_objc_CPPFLAGS = -I$(top_srcdir)/objectivec +# On travis, the build fails without the isysroot because whatever system +# headers are being found don't include generics support for +# NSArray/NSDictionary, the only guess is their image at one time had an odd +# setup for Xcode and old frameworks are being found. +conformance_objc_CPPFLAGS = -I$(top_srcdir)/objectivec -isysroot `xcrun --sdk macosx --show-sdk-path` conformance_objc_LDFLAGS = -framework Foundation # Explicit dep beacuse BUILT_SOURCES are only done before a "make all/check" # so a direct "make test_objc" could fail if parallel enough. -- cgit v1.2.3