Skip to content

Commit 288cafe

Browse files
committed
Try and make fatfs build properly on Windows.
1 parent d8ab303 commit 288cafe

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

dep/build.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,13 @@
933933
"ffconf.h": "dep/ffconf.h",
934934
"diskio.h": "dep/r/fatfs/source/diskio.h",
935935
},
936-
cflags=["-Wno-pointer-sign"],
936+
cflags=[
937+
"-Wno-pointer-sign",
938+
# Forces our own customised ffconf.h to be read in instead of the one
939+
# in the fatfs source code.
940+
"-include",
941+
".obj/unix/dep/+fatfs_lib_hdr/ffconf.h",
942+
],
937943
deps=[
938944
git_repository(
939945
name="fatfs_repo",

0 commit comments

Comments
 (0)