Usermode/libposix - Update makefile to include crt* files
authorJohn Hodge <[email protected]>
Sat, 31 May 2014 05:42:27 +0000 (13:42 +0800)
committerJohn Hodge <[email protected]>
Sat, 31 May 2014 05:42:27 +0000 (13:42 +0800)
Usermode/Libraries/libposix.so_src/Makefile

index 41684d6..69dc90a 100644 (file)
@@ -6,7 +6,9 @@
 CPPFLAGS += \r
 CFLAGS   += -Wextra\r
 ASFLAGS  +=\r
-LDFLAGS  += -soname libposix.so -Map map.txt -lc\r
+LDFLAGS  += -nostdlib\r
+PRELINK  += $(CRTI) $(CRTBEGIN) $(CRT0S)\r
+LIBS     += -lc $(CRTEND) $(CRTN)\r
 \r
 OBJ  = main.o unistd.o dirent.o stat.o utmpx.o termios.o\r
 OBJ += pwd.o syslog.o sys_time.o sys_ioctl.o sys_resource.o\r

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