Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -669,19 +669,21 @@ endif


ifeq ($(OS),Windows_NT)
LDFLAGS += -lrpcrt4
DEFINES += -DWIN32_UUID
LDFLAGS_GUI = -Wl,-subsystem,windows
LDFLAGS += -lrpcrt4
DEFINES += -DWIN32_UUID
LDFLAGS_GUI = -Wl,-subsystem,windows
else
UNAME := $(shell uname)
ifeq ($(UNAME), FreeBSD)
CXXFLAGS += -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
endif
ifeq ($(UNAME), Darwin)
# do nothing on mac os
else
LDFLAGS += -fuse-ld=gold
endif
UNAME := $(shell uname)
ifeq ($(UNAME), FreeBSD)
CXXFLAGS += -D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR
endif
ifeq ($(UNAME), Darwin)
# do nothing on mac os
else
# allow ld.gold to be overriden by command line
GOLD = -fuse-ld=gold
LDFLAGS += $(GOLD)
endif
endif

SRC_SHARED = $(SRC_COMMON) \
Expand Down