ref: 34b994f6387b05b12702aa7d78321fae8e1210c3
dir: /build/platform-bsd.mk/
include $(SRC_PATH)build/arch.mk SHAREDLIBSUFFIX = so SHAREDLIBSUFFIXFULLVER=$(SHAREDLIBSUFFIX).$(FULL_VERSION) SHAREDLIBSUFFIXMAJORVER=$(SHAREDLIBSUFFIX).$(SHAREDLIB_MAJORVERSION) SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXMAJORVER) CFLAGS += -fPIC ifeq ($(USE_STACK_PROTECTOR), Yes) CFLAGS += -fstack-protector-all endif LDFLAGS += -lpthread STATIC_LDFLAGS += -lpthread -lm ifeq ($(ASM_ARCH), x86) ifeq ($(ARCH), x86_64) ASMFLAGS += -f elf64 else ASMFLAGS += -f elf endif endif