Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Commit 66b38a7

Browse files
authored
Merge pull request #1829 from compnerd/no-sdk-for-you
test: only pass `-sdk` on Darwin targets
2 parents d8e50a7 + 2b4b32e commit 66b38a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/Python/lldbsuite/test/make/Makefile.rules

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,9 @@ ifeq "$(USESWIFTDRIVER)" "1"
538538
ifneq "$(TRIPLE)" ""
539539
SWIFTFLAGS += -target $(TRIPLE)
540540
endif
541-
SWIFTFLAGS += -sdk "$(SWIFTSDKROOT)"
541+
ifeq "$(OS)" "Darwin"
542+
SWIFTFLAGS += -sdk "$(SWIFTSDKROOT)"
543+
endif
542544
endif
543545

544546
#----------------------------------------------------------------------

0 commit comments

Comments
 (0)