Blame project/extras.mk

37639d
CFLAGS_SHARED_ATTR 	+= -DDALIST_EXPORT
37639d
CFLAGS_STATIC_ATTR 	+= -DDALIST_STATIC
fab898
c16b57
ifeq ($(CC_BINFMT),PE)
5cf966
	CFLAGS_CONFIG 	+= -D_MIDIPIX_FREESTANDING -D__NT$(HOST_BITS)
fab898
	CFLAGS_CONFIG 	+= -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
fab898
	CFLAGS_CONFIG 	+= -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
fab898
fab898
	LDFLAGS_SHARED 	+= -Wl,--exclude-all-symbols
a6e0dc
	LDFLAGS_SHARED 	+= -nostdlib
fab898
fab898
	ifeq ($(HOST_BITS),32)
a6e0dc
		LDFLAGS_SHARED 	+= -Wl,--entry -Wl,$(HOST_UNDERSCORE)dalist_entry_point@12
fab898
	else
a6e0dc
		LDFLAGS_SHARED 	+= -Wl,--entry -Wl,$(HOST_UNDERSCORE)dalist_entry_point
fab898
	endif
fab898
endif