[test-suite] r358084 - [test-suite] There is no such thing as CMAKE_C_CFLAGS, it's CMAKE_C_FLAGS
Roman Lebedev via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 10 07:12:32 PDT 2019
Author: lebedevri
Date: Wed Apr 10 07:12:32 2019
New Revision: 358084
URL: http://llvm.org/viewvc/llvm-project?rev=358084&view=rev
Log:
[test-suite] There is no such thing as CMAKE_C_CFLAGS, it's CMAKE_C_FLAGS
Summary: Noticed by accident.
Reviewers: homerdin, MatzeB, hfinkel, fhahn
Reviewed By: fhahn
Subscribers: fhahn, mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60215
Modified:
test-suite/trunk/CMakeLists.txt
Modified: test-suite/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=358084&r1=358083&r2=358084&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Wed Apr 10 07:12:32 2019
@@ -150,7 +150,7 @@ set(TEST_SUITE_EXTRA_EXE_LINKER_FLAGS CA
"Extra flags for CMAKE_EXE_LINKER_FLAGS")
mark_as_advanced(TEST_SUITE_EXTRA_C_FLAGS, TEST_SUITE_EXTRA_CXX_FLAGS,
TEST_SUITE_EXTRA_EXE_LINKER_FLAGS)
-set(CMAKE_C_CFLAGS "${CMAKE_C_CFLAGS} ${TEST_SUITE_EXTRA_C_FLAGS}")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${TEST_SUITE_EXTRA_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TEST_SUITE_EXTRA_CXX_FLAGS}")
set(CMAKE_EXE_LINKER_FLAGS
"${CMAKE_EXE_LINKER_FLAGS} ${TEST_SUITE_EXTRA_EXE_LINKER_FLAGS}")
More information about the llvm-commits
mailing list