Kernel/VTerm - "Fix" wrapping issue in VTerm (why was old behavior there?)
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / Makefile
index 82eaf7c..7253837 100644 (file)
@@ -8,13 +8,18 @@ CFLAGS   += -Wall -Werror -Wextra
 CXXFLAGS += -Wall -Werror -Wextra\r
 ASFLAGS  +=\r
 LDFLAGS  += -nostdlib\r
-PRELINK  := $(CRTI) $(CRTBEGIN) $(OUTPUTDIR)/Libs/crt0S.o\r
-LIBS     += -lc $(LIBGCC_PATH) $(CRTEND) $(CRTN)\r
+PRELINK  := $(CRTI) $(CRTBEGINS) $(CRT0S)\r
+LIBS     += -lc $(LIBGCC_PATH) $(CRTENDS) $(CRTN)\r
 USE_CXX_LINK := yes\r
 \r
 OBJ  = misc.o new.o guard.o cxxabi.o typeinfo.o\r
-OBJ += string.o\r
+OBJ += string.o mutex.o\r
 OBJ += exceptions.o exception_handling.o system_error.o\r
+OBJ += gxx_personality.o\r
+ifeq ($(ARCHDIR),native)\r
+# - Include libgcc_eh (separate in linux), and the linux libc (space avoids hack in Makefile.tpl)\r
+LIBS += -lgcc_eh -l c\r
+endif\r
 DEPFILES := $(OBJ:%.o=%.d)\r
 BIN = libc++.so\r
 ifeq ($(ARCHDIR),native)\r

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