Commit 0b6d1290 by Ben Clayton

CMake: Remove custom CMAKE_ASM_FLAGS

Chris pointed out that ".S" assembler files hint that they should be preprocessed. Now these files have the correct extension, we don't need to be explicit about running assembly files through the preprocessor. Bug: b/139010488 Change-Id: I1399e884071c7fc2f169e93809a9f15204e41eff Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35211Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 288a1e98
......@@ -278,9 +278,6 @@ set(HELLO2_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/PowerVR_SDK/Examples/Begi
# Compile flags
###########################################################
# Run assembly files through the C preprocessor.
SET(CMAKE_ASM_FLAGS "-x assembler-with-cpp")
# Flags for project code (non 3rd party)
set(SWIFTSHADER_COMPILE_OPTIONS "")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment