Usermode/libc - Makefile update, move stdin/... to .data for R_*_COPY to work
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / Makefile
index c615b6e..d5aa216 100644 (file)
@@ -4,9 +4,11 @@
 -include ../Makefile.cfg\r
 \r
 CPPFLAGS += \r
-CFLAGS   += -Wall -Werror -Wextra\r
+CFLAGS   += -nostdlib -Wall -Werror -Wextra\r
 ASFLAGS  +=\r
-LDFLAGS  += -Map map.txt\r
+LDFLAGS  += -nostdlib\r
+PRELINK  := $(CRTI) $(CRTBEGIN) $(OUTPUTDIR)/Libs/crt0S.o\r
+LIBS     += $(LIBGCC_PATH) $(CRTEND) $(CRTN)\r
 \r
 INCFILES := stdio.h stdlib.h\r
 \r

UCC git Repository :: git.ucc.asn.au