From 4e640ade41f06bd8399850ae471e167f70024442 Mon Sep 17 00:00:00 2001 From: Apple Date: Sat, 3 Feb 2018 22:31:58 +0000 Subject: [PATCH] hfs-407.30.1.tar.gz --- tests/gen-dmg.sh | 2 +- tests/gen-test-plist.sh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/gen-dmg.sh b/tests/gen-dmg.sh index 92d1122..afb9462 100755 --- a/tests/gen-dmg.sh +++ b/tests/gen-dmg.sh @@ -9,7 +9,7 @@ set -e mkdir -p "$DERIVED_FILE_DIR" -env -i xcrun clang "$SRCROOT"/tests/img-to-c.c -lz -o "$DERIVED_FILE_DIR"/img-to-c +env -i xcrun -sdk macosx.internal clang "$SRCROOT"/tests/img-to-c.c -lz -o "$DERIVED_FILE_DIR"/img-to-c "$DERIVED_FILE_DIR"/img-to-c -size 2g -type SPARSE -fs JHFS+ -uid 501 -gid 501 >"$1" diff --git a/tests/gen-test-plist.sh b/tests/gen-test-plist.sh index 85d2a33..054ec9a 100755 --- a/tests/gen-test-plist.sh +++ b/tests/gen-test-plist.sh @@ -37,19 +37,19 @@ grep -l -E '^TEST\(' *.[cm] | xargs xcrun clang -E -D TEST=TEST \ grep -h -E 'TEST\(' >>"$DERIVED_FILE_DIR"/list-tests.c # Build an executable for the host platform -env -i xcrun clang -x objective-c++ -I.. -c ../hfs-tests.mm \ +env -i xcrun -sdk macosx.internal clang -x objective-c++ -I.. -c ../hfs-tests.mm \ -o "$DERIVED_FILE_DIR"/hfs-tests.o -std=gnu++1y -env -i xcrun clang -x objective-c -I.. -c ../disk-image.m \ +env -i xcrun -sdk macosx.internal clang -x objective-c -I.. -c ../disk-image.m \ -o "$DERIVED_FILE_DIR"/disk-image.o -env -i xcrun clang -x c -I.. -c ../systemx.c \ +env -i xcrun -sdk macosx.internal clang -x c -I.. -c ../systemx.c \ -o "$DERIVED_FILE_DIR"/systemx.o -env -i xcrun clang -x c -c "$DERIVED_FILE_DIR"/list-tests.c \ +env -i xcrun -sdk macosx.internal clang -x c -c "$DERIVED_FILE_DIR"/list-tests.c \ -o "$DERIVED_FILE_DIR"/list-tests.o -env -i xcrun clang++ "$DERIVED_FILE_DIR"/hfs-tests.o \ +env -i xcrun -sdk macosx.internal clang++ "$DERIVED_FILE_DIR"/hfs-tests.o \ "$DERIVED_FILE_DIR"/disk-image.o "$DERIVED_FILE_DIR"/list-tests.o \ -o "$DERIVED_FILE_DIR"/list-tests "$DERIVED_FILE_DIR"/systemx.o \ -framework Foundation -lstdc++ -- 2.45.2