From 2b9599035cf2da613869a4db10ac236a49fc5e4c Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Thu, 9 Mar 2023 18:17:37 -0400 Subject: global: Compile the entire codebase with `-sym on` Just like with `-inline none`, I'm starting to realize more, and more that they built it with `-sym on` too. --- Makefile | 3 +-- context.h | 2 +- include/pso/TProtocol.h | 2 +- src/pso/TProtocol.cpp | 2 ++ 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index fd839a4..c5cde09 100644 --- a/Makefile +++ b/Makefile @@ -45,10 +45,9 @@ include obj_files.mk # This is a hack, and should be removed once we make separate repos for # all the support libraries (such as the Dolphin SDK, MSL, and MetroTRK). -$(BUILD_DIR)/src/pso/%.o: DIR_UNIQUE_CFLAGS := -inline none +$(BUILD_DIR)/src/pso/%.o: DIR_UNIQUE_CFLAGS := -inline none -sym on # File specific flags. -$(BUILD_DIR)/src/pso/TObject.o: FILE_UNIQUE_CFLAGS := -sym on ALL_DIRS := $(sort $(dir $(O_FILES))) diff --git a/context.h b/context.h index 12567f0..0444aee 100644 --- a/context.h +++ b/context.h @@ -1277,7 +1277,7 @@ public: virtual void run_task(); virtual short send(u8 *data, size_t size); - void some_stub() {}; + void some_stub(); int handle_command(struct packet *pkt); void parse_packet(); diff --git a/include/pso/TProtocol.h b/include/pso/TProtocol.h index 628ee7f..c224c5d 100644 --- a/include/pso/TProtocol.h +++ b/include/pso/TProtocol.h @@ -150,7 +150,7 @@ public: virtual void run_task(); virtual short send(u8 *data, size_t size); - void some_stub() {}; + void some_stub(); int handle_command(struct packet *pkt); void parse_packet(); diff --git a/src/pso/TProtocol.cpp b/src/pso/TProtocol.cpp index a1462b9..58a7374 100644 --- a/src/pso/TProtocol.cpp +++ b/src/pso/TProtocol.cpp @@ -247,6 +247,8 @@ void TProtocol::run_task() { } } +void TProtocol::some_stub() {} + TProtocol::~TProtocol() { } -- cgit v1.2.3-13-gbd6f