1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-27 01:01:52 -07:00

Use xcrun so that we support xcode-select.

Copied from Perforce
 Change: 185998
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-05-11 18:16:46 +01:00
parent 80d10acf0f
commit e75322e735
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# Makefile.in -- source for autoconf Makefile
#
# $Id$
# Copyright (C) 2012-2013 Ravenbrook Limited. See end of file for license.
# Copyright (C) 2012-2014 Ravenbrook Limited. See end of file for license.
#
# YOU DON'T NEED AUTOCONF TO BUILD THE MPS
# This is just here for people who want or expect a configure script.
@ -17,7 +17,7 @@ MPS_TARGET_NAME=@MPS_TARGET_NAME@
EXTRA_TARGETS=@EXTRA_TARGETS@
prefix=$(DESTDIR)@prefix@
TARGET_OPTS=-C code -f $(MPS_TARGET_NAME).gmk EXTRA_TARGETS="$(EXTRA_TARGETS)"
XCODEBUILD=xcodebuild -project code/mps.xcodeproj
XCODEBUILD=xcrun xcodebuild -project code/mps.xcodeproj
all: @BUILD_TARGET@

View file

@ -26,14 +26,14 @@ case "$ARCH-$OS" in
CONFIGURATION=Debug
(
cd -- "$CODE"
xcodebuild -config "$CONFIGURATION" clean
xcodebuild -config "$CONFIGURATION" -target testrun \
xcrun xcodebuild -config "$CONFIGURATION" clean
xcrun xcodebuild -config "$CONFIGURATION" -target testrun \
GCC_GENERATE_TEST_COVERAGE_FILES=YES \
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES
)
(
cd -- "$CODE/xc/$PROJECT.build/$CONFIGURATION/$PROJECT.build/Objects-normal/$ARCH"
gcov mps.c 2> /dev/null
xcrun gcov mps.c 2> /dev/null
) | "$TOOL/gcovfmt"
;;
*)