forked from Hay1tsme/segatools
re-enable LTO
it has weird build issues on my machine, so I turned it off.
This commit is contained in:
@ -23,7 +23,7 @@ if cc.get_id() != 'msvc'
|
|||||||
add_project_arguments(
|
add_project_arguments(
|
||||||
'-ffunction-sections',
|
'-ffunction-sections',
|
||||||
'-fdata-sections',
|
'-fdata-sections',
|
||||||
# '-flto', # Enable Link-Time Optimization
|
'-flto', # Enable Link-Time Optimization
|
||||||
language: 'c',
|
language: 'c',
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ if cc.get_id() != 'msvc'
|
|||||||
'-Wl,--exclude-all-symbols',
|
'-Wl,--exclude-all-symbols',
|
||||||
'-Wl,--gc-sections',
|
'-Wl,--gc-sections',
|
||||||
'-static-libgcc',
|
'-static-libgcc',
|
||||||
# '-flto', # Enable Link-Time Optimization
|
'-flto', # Enable Link-Time Optimization
|
||||||
'-Wl,-s', # Strip debug symbols
|
'-Wl,-s', # Strip debug symbols
|
||||||
language: 'c',
|
language: 'c',
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user