blob: 74385f98d863495087948cbc8e9d6f78743ec02e [file] [log] [blame]
# Need to turn optimization off. Otherwise compiler may generate
# incorrect code, not knowing that trigger_irq() affects the value
# of trigger_check, even if declared volatile.
# A memory barrier does not help, we need an 'instruction barrier' but
# GCC doesn't support this; we need to tell the compiler not to reorder
# memory accesses to trigger_check around calls to trigger_irq.
CONFIG_COMPILER_OPT="-O0"