make release build work with dynamic linker

This commit is contained in:
flysand7 2023-08-26 17:11:12 +11:00
parent 8ceb3e2e49
commit 8b7850f03e
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ cc_includes.append('include/linux')
cc_flags_push() cc_flags_push()
cc_defines_push() cc_defines_push()
cc_flags.extend([ cc_flags.extend([
'-fno-builtin',
'-Wl,-e,_dlstart', '-Wl,-e,_dlstart',
'-Wl,--sort-section,alignment', '-Wl,--sort-section,alignment',
'-Wl,--sort-common', '-Wl,--sort-common',