nav: fix double jumping when bot gets stuck

bot: restore bot difficulty levels (ref #729)
bot: probably fix freezetime accident shooting (ref #729)
build: use noexecstack when building library
refactor: rework some old code and remove unnecessary things
This commit is contained in:
jeefo 2025-09-01 23:20:36 +03:00
commit 95f907434b
No known key found for this signature in database
GPG key ID: D696786B81B667C8
26 changed files with 157 additions and 194 deletions

View file

@ -149,12 +149,14 @@ if cxx == 'clang' or cxx == 'gcc'
'-fdata-sections',
'-ffunction-sections',
'-fcf-protection=none',
'-fno-plt'
'-fno-plt',
'-Wa,--noexecstack'
]
ldflags += [
'-Wl,--version-script=' + meson.project_source_root() + '/ext/ldscripts/version.lds',
'-Wl,--gc-sections'
'-Wl,--gc-sections',
'-Wl,-z,noexecstack'
]
else
cxxflags += ['-DLINKENT_STATIC']
@ -177,7 +179,7 @@ if cxx == 'clang' or cxx == 'gcc'
]
endif
else
cxxflags += ['-g3', '-ggdb', '-DDEBUG', '-D_FORTIFY_SOURCE=2']
cxxflags += ['-g3', '-ggdb', '-DDEBUG']
endif
# special script for mingw-64 builds