diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-05-08 21:03:43 +0200 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-05-08 21:03:43 +0200 |
| commit | e28ad1546509de31b706f0fd300a906e5bc55199 (patch) | |
| tree | 40d708336cf770b8c68302bd32b069951a3df428 /build.sh | |
| parent | da9d961bbc3662064599f4b0b4759a2c641924a2 (diff) | |
new and changed mappers
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,7 +7,7 @@ CC=gcc # Base configuration common to all builds CFLAGS="-std=gnu11 -mtune=generic " -CFLAGS+="-mbmi -mbmi2 " +CFLAGS+="-mbmi " CFLAGS+="-mfunction-return=keep -mindirect-branch=keep " CFLAGS+="-fwrapv -ffast-math -fno-trapping-math -fvisibility=hidden " CFLAGS+="-fno-stack-protector -fno-PIE -no-pie -fno-strict-aliasing -fcf-protection=none -ffunction-sections -fdata-sections " @@ -19,13 +19,14 @@ CFLAGS+="-Wno-unused-variable -Wno-unused-const-variable -Wno-unused-function -W CFLAGS+="-U_FORTIFY_SOURCE -fno-pic " LDFLAGS="-Wl,--gc-sections -Wl,--as-needed " +# LDFLAGS+="-Wl,--script=mknes.ld " # Base include paths (common for all platforms) INCLUDE_PATHS="-Ibase -I.." # Linux-specific includes and libraries LINUX_INCLUDE="-I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2" -LINUX_LIBS="-lpipewire-0.3 -lXi -lX11 -lGL -lm -ldl -pthread -lglfw -larchive" +LINUX_LIBS="-lpipewire-0.3 -lXi -lX11 -lGL -lm -ldl -pthread -lglfw -larchive " # Windows-specific includes and libraries # WINDOWS_INCLUDE="" |
