diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-09 18:17:37 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-03-09 18:17:37 -0400 |
commit | 2b9599035cf2da613869a4db10ac236a49fc5e4c (patch) | |
tree | dcaa0fc0eb2f71305bd37ad56cb799b541ece592 | |
parent | dacfbade1476d79bf7484b8817592d61ba62ee2f (diff) |
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.
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | context.h | 2 | ||||
-rw-r--r-- | include/pso/TProtocol.h | 2 | ||||
-rw-r--r-- | src/pso/TProtocol.cpp | 2 |
4 files changed, 5 insertions, 4 deletions
@@ -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))) @@ -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() { } |