kopia lustrzana https://github.com/OpenRTX/OpenRTX
Linux: added garbage collection of unused .text and .data sections at link time
rodzic
7dc2ca5524
commit
12e2a0f18b
|
@ -403,9 +403,9 @@ mod17_def = def + stm32f405_def + {'PLATFORM_MOD17': ''}
|
|||
## -------------------------- Compilation arguments ----------------------------
|
||||
##
|
||||
|
||||
linux_c_args = ['-DPLATFORM_LINUX']
|
||||
linux_cpp_args = ['-std=c++14', '-DPLATFORM_LINUX']
|
||||
linux_l_args = ['-lm', '-lreadline', '-lpulse-simple']
|
||||
linux_c_args = ['-ffunction-sections', '-fdata-sections', '-DPLATFORM_LINUX']
|
||||
linux_cpp_args = ['-ffunction-sections', '-fdata-sections', '-std=c++14', '-DPLATFORM_LINUX']
|
||||
linux_l_args = ['-lm', '-lreadline', '-lpulse-simple', '-Wl,--gc-sections']
|
||||
|
||||
# Add AddressSanitizer if required
|
||||
if get_option('asan')
|
||||
|
|
Ładowanie…
Reference in New Issue