Ticket #6793: cxa-haiku.patch
File cxa-haiku.patch, 1.6 KB (added by , 14 years ago) |
---|
-
build/jam/BuildSetup
491 491 ; 492 492 HAIKU_LIBRARY_BEGIN_GLUE_CODE = 493 493 <src!system!glue!arch!$(HAIKU_ARCH)>crti.o 494 crtbegin .o494 crtbeginS.o 495 495 <src!system!glue>init_term_dyn.o 496 496 ; 497 497 HAIKU_LIBRARY_END_GLUE_CODE = 498 crtend .o498 crtendS.o 499 499 <src!system!glue!arch!$(HAIKU_ARCH)>crtn.o 500 500 ; 501 501 HAIKU_EXECUTABLE_BEGIN_GLUE_CODE = … … 504 504 <src!system!glue>start_dyn.o 505 505 <src!system!glue>init_term_dyn.o 506 506 ; 507 HAIKU_EXECUTABLE_END_GLUE_CODE = $(HAIKU_LIBRARY_END_GLUE_CODE) ; 507 HAIKU_EXECUTABLE_END_GLUE_CODE = 508 crtend.o 509 <src!system!glue!arch!$(HAIKU_ARCH)>crtn.o 510 ; 508 511 HAIKU_KERNEL_ADDON_BEGIN_GLUE_CODE = crtbegin.o 509 512 <src!system!glue>haiku_version_glue.o ; 510 513 HAIKU_KERNEL_ADDON_END_GLUE_CODE = $(HAIKU_GCC_LIBGCC) crtend.o ; 511 514 512 SEARCH on crtbegin.o crtend.o = $(HAIKU_GCC_LIB_DIR) ;515 SEARCH on crtbegin.o crtend.o crtbeginS.o crtendS.o = $(HAIKU_GCC_LIB_DIR) ; 513 516 514 517 HAIKU_EXECUTABLE_MIME_TYPE = "application/x-vnd.Be-elfexecutable" ; 515 518 -
src/system/runtime_loader/Jamfile
8 8 # Don't let gcc inject built-in function code. This will cause dependencies 9 9 # to libroot, which we don't link against. 10 10 SubDirCcFlags -fno-builtin ; 11 SubDirC++Flags -fno-builtin -fno-exceptions ;11 SubDirC++Flags -fno-builtin -fno-exceptions -fno-use-cxa-atexit ; 12 12 13 13 DEFINES += 14 14 KMESSAGE_CONTAINER_ONLY