File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11SWIFT_SOURCES := main.swift
2+ SWIFTFLAGS_EXTRAS := -target $(TRIPLE )
23
34include Makefile.rules
Original file line number Diff line number Diff line change 11SWIFT_SOURCES := main.swift
2+ ifeq "$(TRIPLE ) " ""
23SWIFTFLAGS_EXTRAS := -Xfrontend -no-serialize-debugging-options
4+ else
5+ # Target override for the simulator testcase.
6+ SWIFTFLAGS_EXTRAS := -Xfrontend -no-serialize-debugging-options -target $(TRIPLE )
7+ endif
38SWIFT_BRIDGING_HEADER := bridging-header.h
49LD_EXTRAS := ignored.o
510
611all : ignored.o $(EXE )
712
8- # Artificially inject a wrong SDK into a C file to test that it is ebing ignored.
13+ # Artificially inject a wrong SDK into a C file to test that it is being ignored.
914ignored.o : ignored.c
1015 $(CC ) -target $(ARCH ) -apple-macos -c $< -o $@ \
1116 -isysroot $(shell xcrun --sdk iphonesimulator --show-sdk-path)
You can’t perform that action at this time.
0 commit comments