diff options
| author | Xavi Del Campo <xavi.dcr@tutanota.com> | 2020-01-31 14:10:20 +0100 |
|---|---|---|
| committer | Xavi Del Campo <xavi.dcr@tutanota.com> | 2020-01-31 14:10:20 +0100 |
| commit | 26b206560dc4bce4537ec9fcceb2306534fd1c6a (patch) | |
| tree | 409ade6fe8eabe90c298fb1236028065e92af1e0 /libpsx/Makefile | |
| parent | 78128c8058e6f522c55e7945274926d33183634f (diff) | |
| download | psxsdk-26b206560dc4bce4537ec9fcceb2306534fd1c6a.tar.gz | |
Added -ffunction/data-sections and -Os to libpsx
Diffstat (limited to 'libpsx/Makefile')
| -rw-r--r-- | libpsx/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpsx/Makefile b/libpsx/Makefile index d905cb8..f976aa5 100644 --- a/libpsx/Makefile +++ b/libpsx/Makefile @@ -2,10 +2,10 @@ include ../Makefile.cfg -CFLAGS += -O0 +CFLAGS += -Os # Never remove the line below! -CFLAGS += -D__IN_LIBPSX +CFLAGS += -D__IN_LIBPSX -ffunction-sections -fdata-sections OBJS = $(patsubst src/%.c, out/%.o, $(wildcard src/*.c)) \ $(patsubst src/libc/%.c, out/libc/%.o, $(wildcard src/libc/*.c)) \ |
