e3fce5095b
This fixes building libwels.dylib, since the assembly code isn't position independent.
14 lines
331 B
Makefile
14 lines
331 B
Makefile
include build/platform-x86-common.mk
|
|
ASM = nasm
|
|
SHAREDLIBSUFFIX = dylib
|
|
CFLAGS += -Wno-deprecated-declarations -Werror -fPIC -DMACOS -DMT_ENABLED -MMD -MP
|
|
LDFLAGS += -lpthread
|
|
ASMFLAGS += --prefix _ -DNOPREFIX
|
|
ifeq ($(ENABLE64BIT), Yes)
|
|
ASMFLAGS += -f macho64
|
|
else
|
|
ASMFLAGS += -f macho
|
|
LDFLAGS += -read_only_relocs suppress
|
|
endif
|
|
|