meson.build: add -f{function,data}-sections to C++ as well
By accident, this was only enabled for C.
This commit is contained in:
parent
fada4aa529
commit
ce7ec2b3f5
|
@ -88,6 +88,10 @@ test_ldflags = [
|
|||
]
|
||||
|
||||
if get_option('buildtype') != 'debug'
|
||||
test_cxxflags += [
|
||||
'-ffunction-sections',
|
||||
'-fdata-sections',
|
||||
]
|
||||
test_cflags += [
|
||||
'-ffunction-sections',
|
||||
'-fdata-sections',
|
||||
|
|
Loading…
Reference in New Issue