Blame project/extras.mk

18eb48
CFLAGS_SHARED_ATTR 	+= -DPE_BUILD
18eb48
CFLAGS_STATIC_ATTR 	+= -DPE_STATIC
18eb48
18eb48
CFLAGS_CONFIG 		+= -DMIDIPIX_FREESTANDING -ffreestanding -D__NT$(HOST_BITS)
18eb48
CFLAGS_CONFIG 		+= -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__
18eb48
CFLAGS_CONFIG 		+= -UWIN64 -U_WIN64 -U__WIN64 -U__WIN64__
18eb48
18eb48
LDFLAGS_SHARED 		+= --out-implib $(SHARED_IMPLIB)
18eb48
LDFLAGS_SHARED 		+= --exclude-all-symbols
18eb48
18eb48
ifeq ($(HOST_BITS),32)
f4b4a3
	LDFLAGS_SHARED 	+= --entry $(HOST_UNDERSCORE)pe_entry_point@12
18eb48
else
f4b4a3
	LDFLAGS_SHARED 	+= --entry $(HOST_UNDERSCORE)pe_entry_point
18eb48
endif