Skip to content

Build on M1 #1

Description

@markhalonen

I had to add this to build on M1 Apple Silicon

diff --git a/deps/build.jl b/deps/build.jl
index d9165a4..bb97b1a 100644
--- a/deps/build.jl
+++ b/deps/build.jl
@@ -31,7 +31,7 @@ provides(
                                @build_steps(begin
                                        `./autogen.sh`
                                        `./configure --prefix=$(BinDeps.usrdir(modbus))`
-                                       `make install`
+                                       `make install CFLAGS='-Wno-nullability-completeness'`
                                end),
                        )
                end)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions