Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
69d713fc
Commit
69d713fc
authored
9 years ago
by
Thomas Van Lenten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure the conformance build of objc code is using the Mac OS X SDK and
parent
e4af879b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Makefile.am
conformance/Makefile.am
+5
-1
full_mac_build.sh
objectivec/DevTools/full_mac_build.sh
+3
-1
No files found.
conformance/Makefile.am
View file @
69d713fc
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
objectivec/DevTools/full_mac_build.sh
View file @
69d713fc
...
...
@@ -136,7 +136,9 @@ fi
if
[[
"
${
DO_AUTOGEN
}
"
==
"yes"
]]
;
then
header
"Running autogen & configure"
./autogen.sh
./configure
CXXFLAGS
=
"-mmacosx-version-min=10.9 -Wnon-virtual-dtor -Woverloaded-virtual -Wunused-const-variable -Wunused-function"
./configure
\
CPPFLAGS
=
"-mmacosx-version-min=10.9 -Wunused-const-variable -Wunused-function"
\
CXXFLAGS
=
"-Wnon-virtual-dtor -Woverloaded-virtual"
fi
if
[[
"
${
DO_CLEAN
}
"
==
"yes"
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment