Skip to content
Snippets Groups Projects
Commit abdeb48f authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

macOS Clang linker - don't warn about duplicate libraries

parent 34588467
No related branches found
No related tags found
No related merge requests found
Pipeline #8006 failed
......@@ -400,7 +400,7 @@ ifeq ($(os),darwin)
endif
CFLAGS += -D__unix__ -fno-common -D__DARWIN__
CFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION)
LDFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION)
LDFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION) -Xlinker -no_warn_duplicate_libraries
ifneq (,$(shell which brew))
CFLAGS += -I$(shell brew --prefix)/include
LDFLAGS += -L$(shell brew --prefix)/lib
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment