Samples: fix build for WDEF

This commit is contained in:
Ezra Buehler 2019-07-20 15:55:50 +02:00 committed by Wolfgang Thaller
parent 4162dfca54
commit b6ad702a0f

View File

@ -79,5 +79,5 @@ add_application(WDEFShell
) )
# Again, add some options to make things smaller. # Again, add some options to make things smaller.
set_target_properties(Dialog PROPERTIES COMPILE_OPTIONS -ffunction-sections) set_target_properties(WDEFShell PROPERTIES COMPILE_OPTIONS -ffunction-sections)
set_target_properties(Dialog PROPERTIES LINK_FLAGS "-Wl,-gc-sections") set_target_properties(WDEFShell PROPERTIES LINK_FLAGS "-Wl,-gc-sections")