diff --git a/xmake.lua b/xmake.lua index a7c7fff..b9bd400 100644 --- a/xmake.lua +++ b/xmake.lua @@ -74,7 +74,7 @@ if is_plat("windows") then add_cxflags("/wd4275", {tools = "cl"}) -- DLL-interface class 'class_1' used as base for DLL-interface blah else -- GCC-compatible (GCC, Clang, ...) - add_cxflags("-Wtrampolines") + add_cxflags("-Wtrampolines", {tools = "gcc"}) add_cxflags("-Werror=inconsistent-missing-override", {tools = "clang"}) add_cxflags("-Werror=reorder") add_cxflags("-Werror=suggest-override", {tools = "gcc"})