From e28ad1546509de31b706f0fd300a906e5bc55199 Mon Sep 17 00:00:00 2001 From: Peter Fors Date: Thu, 8 May 2025 21:03:43 +0200 Subject: new and changed mappers --- build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index de8ecc5..cbe8e64 100755 --- a/build.sh +++ b/build.sh @@ -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="" -- cgit v1.2.3