Skip to content

make check fails on OSX #10811

Closed
Closed
@dwrensha

Description

@dwrensha

I get this error:

...
maketest: c-static-dylib
----- /Users/davidrenshaw/Code/rust/src/test/run-make/c-static-dylib/ --------------------
------ stdout ---------------------------------------------
gcc -Wall -Werror -g -fPIC -m64 -arch x86_64 -L /Users/davidrenshaw/Code/rust/x86_64-apple-darwin/test/run-make/c-static-dylib -c -o /Users/davidrenshaw/Code/rust/x86_64-apple-darwin/test/run-make/c-static-dylib/libcfoo.o cfoo.c

------ stderr ---------------------------------------------
clang: error: argument unused during compilation: '-L/Users/davidrenshaw/Code/rust/x86_64-apple-darwin/test/run-make/c-static-dylib'
make[1]: *** [/Users/davidrenshaw/Code/rust/x86_64-apple-darwin/test/run-make/c-static-dylib/libcfoo.o] Error 1

This patch seems to fix the problem for me: dwrensha@1693b81

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-macosOperating system: macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions