mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 17:28:30 +08:00
Revert "[libc][NFC] Add -fno-lax-vector-conversions compilation flag"
This breaks aarch64 build.
This reverts commit 32f4c3f103.
This commit is contained in:
@@ -23,7 +23,6 @@ function(_get_common_compile_options output_var flags)
|
||||
list(APPEND compile_options "-ffreestanding")
|
||||
list(APPEND compile_options "-fno-builtin")
|
||||
list(APPEND compile_options "-fno-exceptions")
|
||||
list(APPEND compile_options "-fno-lax-vector-conversions")
|
||||
list(APPEND compile_options "-fno-unwind-tables")
|
||||
list(APPEND compile_options "-fno-asynchronous-unwind-tables")
|
||||
list(APPEND compile_options "-fno-rtti")
|
||||
|
||||
@@ -69,7 +69,6 @@ def libc_function(
|
||||
copts = copts or []
|
||||
copts.append("-O3")
|
||||
copts.append("-fno-builtin")
|
||||
copts.append("-fno-lax-vector-conversions")
|
||||
|
||||
# We compile the code twice, the first target is suffixed with ".__internal__" and contains the
|
||||
# C++ functions in the "__llvm_libc" namespace. This allows us to test the function in the
|
||||
|
||||
Reference in New Issue
Block a user