Stop building with -fno-operator-names
It doesn't seem to be necessary.
Change-Id: Ie750807ff9de6aedc9dfa6f1c2c63ec306185edd
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/55688
Tested-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/Android.bp b/Android.bp
index 62c46e1..daba41a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -58,7 +58,6 @@
cflags: [
"-Xclang", "-fuse-init-array",
- "-fno-operator-names",
"-msse2",
"-Werror",
"-Wwrite-strings",
diff --git a/BUILD.gn b/BUILD.gn
index 9b56c6d..ead31ef 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -42,7 +42,6 @@
cflags_cc = [ "/std:c++17" ]
} else {
- cflags += [ "-fno-operator-names" ]
cflags_cc = [ "-std=c++17" ]
defines +=
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 09e6076..3a59a76 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -484,12 +484,6 @@
)
endif()
- # Remove xor, and, or and friends from the list of keywords, they are used
- # by Reactor
- list(APPEND SWIFTSHADER_COMPILE_OPTIONS
- "-fno-operator-names"
- )
-
if(ARCH STREQUAL "x86")
set_cpp_flag("-m32")
set_cpp_flag("-msse2")