Blame project/arch.mk

9fd191
ifeq ($(OS),midipix)
9fd191
9fd191
src/env/__libc_start_main.lo: CFLAGS_SHARED += -USHARED
9fd191
ddbccb
SHARED_OBJS    += crt/$(ARCH)/crtn.o
ddbccb
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=_dlstart
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__syscall_vtbl
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__ldso_vtbl
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__psx_vtbl
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__teb_sys_idx
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__teb_libc_idx
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__vm_lock_impl
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=__vm_unlock_impl
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_feof_unlocked
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_ferror_unlocked
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_getc
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_getc_unlocked
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_putc
fb33f1
LDFLAGS_CONFIG += -Wl,--exclude-symbols=_IO_putc_unlocked
e20baa
LDFLAGS_CONFIG += -Wl,--exclude-symbols=___errno_location
fb33f1
9fd191
endif