Skip to content

Commit ffa825d

Browse files
committed
silent unknown warning for clang toolchain
1 parent 5314f95 commit ffa825d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if is_plat("windows") then
7474
add_cxflags("/wd4275", {tools = "cl"}) -- DLL-interface class 'class_1' used as base for DLL-interface blah
7575
else
7676
-- GCC-compatible (GCC, Clang, ...)
77-
add_cxflags("-Wtrampolines")
77+
add_cxflags("-Wtrampolines", {tools = "gcc"})
7878
add_cxflags("-Werror=inconsistent-missing-override", {tools = "clang"})
7979
add_cxflags("-Werror=reorder")
8080
add_cxflags("-Werror=suggest-override", {tools = "gcc"})

0 commit comments

Comments
 (0)