How do I disable a build option on specific platforms?

Package is tvheadend. On some platforms, it fails to build if "Optimize for speed" is selected. I want to remove or disable it for platforms that fail. The option is defined here (first one, after the comment):

How do I make that option dependent on platform?


Negative example:

Positive example:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.