diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-04-09 13:02:18 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-04-09 13:02:18 +0200 |
| commit | 6d7f00f7a662845905c3d8cc99351c328d02e802 (patch) | |
| tree | bcdbce8cf685b6d0afa66d365af38c78e50df543 /build.sh | |
| parent | c9bd7fecdb5d6c8954cf31efef910ed734386c70 (diff) | |
Last few optimizations to ppu_render_pixel, down to 1.59ns per pixel
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ CFLAGS="-std=gnu11 " CFLAGS+="-mbmi2 " CFLAGS+="-mfunction-return=keep " CFLAGS+="-mindirect-branch=keep " -CFLAGS+="-fwrapv -ffast-math -fno-trapping-math -fwhole-program " +CFLAGS+="-fwrapv -ffast-math -fno-trapping-math -fwhole-program -fvisibility=hidden " CFLAGS+="-fno-stack-protector -fno-PIE -no-pie -fno-strict-aliasing -ffunction-sections -fdata-sections " # CFLAGS+="-fno-exceptions -fno-rtti -fno-use-cxa-atexit " CFLAGS+="-fno-non-call-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables " @@ -16,7 +16,7 @@ CFLAGS+="-Wall -Wextra " CFLAGS+="-Wno-unused-parameter -Wno-sign-compare -Wno-trigraphs -Wno-maybe-uninitialized " CFLAGS+="-Wno-unused-variable -Wno-unused-const-variable -Wno-unused-function -Wno-write-strings -Wno-missing-field-initializers " -LDFLAGS="-Wl,--gc-sections " +LDFLAGS="-Wl,--gc-sections -Wl,--as-needed " # Base include paths (common for all platforms) INCLUDE_PATHS="-Ibase -I.." |
