File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -439,8 +439,7 @@ target_: $(TARGET)
439
439
440
440
$(TARGET ) : $(OBJS )
441
441
ifeq ($(PARTIAL_LINKING ) , 1)
442
- sed -e 's/.*/EXTERN(\0)/' frontend/libretro-extern > frontend/libretro-extern.T
443
- $(LD) -o $(basename $(TARGET))1.o -r --gc-sections -T frontend/libretro-extern.T $^
442
+ $(LD) -o $(basename $(TARGET))1.o -r --gc-sections $(addprefix -u , $(shell cat frontend/libretro-extern)) $^
444
443
$(OBJCOPY) --keep-global-symbols=frontend/libretro-extern $(basename $(TARGET))1.o $(basename $(TARGET)).o
445
444
$(AR) rcs $@ $(basename $(TARGET)).o
446
445
else ifeq ($(STATIC_LINKING), 1)
Original file line number Diff line number Diff line change @@ -516,7 +516,9 @@ int emu_core_init(void)
516
516
SysPrintf ("Starting PCSX-ReARMed " REV "%s\n" , get_build_info ());
517
517
SysPrintf ("build time: " __DATE__ " " __TIME__ "\n" );
518
518
519
+ #ifdef HAVE_RTHREADS
519
520
pcsxr_sthread_init ();
521
+ #endif
520
522
#ifndef NO_FRONTEND
521
523
check_profile ();
522
524
check_memcards ();
You can’t perform that action at this time.
0 commit comments