Skip to content

Commit f45327d

Browse files
committed
Try to add -target flag to libfswatch build.
1 parent 0c33897 commit f45327d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ $(BUILD)/fswatch: $(MAKE_VAR_CACHE)/FSWATCH_RELEASE_URL
186186
# Build the static library for the fswatch library sourece code to build it.
187187
LIB_FSWATCH?=$(BUILD)/fswatch/libfswatch/src/libfswatch/.libs/libfswatch.a
188188
$(LIB_FSWATCH): $(BUILD)/fswatch
189-
cd $^ && ./configure && make
189+
cd $^ && env CFLAGS="-target $(CLANG_TARGET_PLATFORM)" ./configure && make
190190

191191
# Download the runtime bitcode library we have built separately.
192192
# See github.com/savi-lang/runtime-bitcode for more info.

0 commit comments

Comments
 (0)