]> git.michaelhowe.org Git - packages/o/openafs.git/commit
libafs: DARWIN: update for Xcode 5.1
authorBenjamin Kaduk <kaduk@mit.edu>
Fri, 14 Mar 2014 15:13:15 +0000 (11:13 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 26 Mar 2014 20:14:37 +0000 (13:14 -0700)
commitdfa4f822f6696d1a3ba84ee9bfa63fce96fa503a
tree07c89167421dd98f1aca6d7445aa7b272755f6fd
parent9ba0be640933e7b416328f248d050f02d4561212
libafs: DARWIN: update for Xcode 5.1

(1) remove -mlong-branch from amd64 build

Random internet postings suggest that it has triggered a warning
since at least Xcode 3.2, and the gcc manual page suggests that
it is only applicable on ppc, anyway.

(2) remove -mpreferred-stack-boundary=4 from the amd64 build

The evidence here shows up less readily in an internet search,
but it seems that Apple's compilers will force the stack alignment
to 16 bytes regardless of what is passed here.  One poster had
trouble with -mpreferred-stack-boundary being unused in Xcode 4.4.1

This change only fixes warnings reported as errors by buildbot; it
does not attempt to fully synchronize with the flags that Xcode 5.1
uses for kernel module builds.

Reviewed-on: http://gerrit.openafs.org/10896
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
(cherry picked from commit cb18fbde6536942e4bc87bd5943a13cc14fbe332)

Change-Id: Ic66d9028e4f15bd7a9d7c80db84087879560f4d2
Reviewed-on: http://gerrit.openafs.org/10926
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: D Brashear <shadow@your-file-system.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/libafs/MakefileProto.DARWIN.in