targets/Win32/__init__.py
changeset 3799 2b995a4963a4
parent 3750 f62625418bff
--- a/targets/Win32/__init__.py	Wed May 10 17:00:04 2023 +0200
+++ b/targets/Win32/__init__.py	Wed May 10 17:02:05 2023 +0200
@@ -31,5 +31,9 @@
     dlopen_prefix = ""
     extension = ".dll"
 
+    def getBuilderCFLAGS(self):
+        return toolchain_gcc.getBuilderCFLAGS(self) + \
+            ["-Wno-implicit-function-declaration", "-Wno-int-conversion"]
+
     def getBuilderLDFLAGS(self):
         return toolchain_gcc.getBuilderLDFLAGS(self) + ["-shared", "-lwinmm"]