JAudio/Interface has -sym on

This commit is contained in:
SwareJonge 2024-01-02 15:53:26 +01:00
parent 8ec54b25f4
commit dab9d897ce
2 changed files with 6 additions and 0 deletions

View File

@ -582,6 +582,8 @@ class CSource(Source):
if c.VERSION == "Release":
if (path.startswith("libs/JSystem/JAudio/")):
self.cflags = c.JAUDIO_RELEASE_CFLAGS
if(path.startswith("libs/JSystem/JAudio/Interface")):
self.cflags += " -sym on"
elif path.startswith("libs/JSystem/"):
self.cflags = c.JSYSTEM_RELEASE_CFLAGS
if path.endswith("JKRSolidHeap.cpp"):
@ -591,6 +593,8 @@ class CSource(Source):
self.cflags = c.DOL_CFLAGS
elif path.startswith("libs/JSystem/JAudio/"):
self.cflags = c.JSYSTEM_SPEED_CFLAGS
if(path.startswith("libs/JSystem/JAudio/Interface")):
self.cflags += " -sym on"
elif path.startswith("libs/JSystem/"): # once i have a file for every library this can finally be removed
self.cflags = c.JSYSTEM_SPEED_CFLAGS

View File

@ -56,9 +56,11 @@
{ \
fake_function(__VA_ARGS__); \
}
#define ASM asm
#else
#define CW_FORCE_BSS(module, ...)
#define CW_FORCE_STRINGS(module, ...)
#define ASM
#endif
// For VSCode