Merge branch 'wip/chergert/fix-objcopy' into 'main'

demo: use --set-section-alignment when using objcopy

See merge request GNOME/gtk!6218
This commit is contained in:
Matthias Clasen 2023-07-28 06:01:43 +00:00
commit a8d3aa133c

View File

@ -206,6 +206,7 @@ if can_use_objcopy_for_resources
output : 'gtkdemo_resources2.o',
command : [objcopy,
'--strip-all',
'--set-section-alignment', '.data=8',
'--add-symbol','_g_binary_gtkdemo_resource_data=.data:0',
'@INPUT@',
'@OUTPUT@'])