summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-04-22 00:52:33 +0800
committerruki <[email protected]>2020-04-21 23:15:22 +0800
commite273a770ecd7917f29f013904d3c4b8201af307c (patch)
treed226f40b9c383c316cbf25da8d8202f14228472e
parentb9345a9a79a13dd3e897f4035fc32962567ccacf (diff)
improve xmake.lua
-rw-r--r--core/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/xmake.lua b/core/xmake.lua
index e8625612e..10f658cd4 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -17,7 +17,7 @@ set_languages("c99", "cxx11")
add_rules("mode.release", "mode.debug")
-- disable some compiler errors
-add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing", "-Wno-error=nullability-completeness")
+add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing", "-Wno-error=nullability-completeness", "-Wno-error=parentheses-equality")
-- add defines
add_defines("_GNU_SOURCE=1", "_FILE_OFFSET_BITS=64", "_LARGEFILE_SOURCE")