Skip to content

Commit 7dc0eb0

Browse files
committed
xtensa: enable plugin support
Compiler plugins can be built starting with xtensa gcc 12. Enable plugin support for xtensa when gcc-12 or newer is used. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
1 parent e7e9614 commit 7dc0eb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/xtensa/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ config XTENSA
3434
select HAVE_DMA_CONTIGUOUS
3535
select HAVE_EXIT_THREAD
3636
select HAVE_FUNCTION_TRACER
37+
select HAVE_GCC_PLUGINS if GCC_VERSION >= 120000
3738
select HAVE_HW_BREAKPOINT if PERF_EVENTS
3839
select HAVE_IRQ_TIME_ACCOUNTING
3940
select HAVE_PCI

0 commit comments

Comments
 (0)