P4 to Git Change 1518310 by msearles@zuni-1666 on 2018/02/22 13:02:34

SWDEV-102733 - Update some CMakeLists.txt files:
	      - when setting CMAKE_CXX_FLAGS, append to it rather than overwriting it.
	      - some linker flags, -Wl,--unresolved-symbols=report-all being one of them, requires -shared-libasan if using -fsanitize=address.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/CMakeLists.txt#13 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/elf/utils/libelf/CMakeLists.txt#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/CMakeLists.txt#9 edit
... //depot/stg/opencl/drivers/opencl/tools/clinfo/CMakeLists.txt#5 edit
This commit is contained in:
foreman
2018-02-22 13:07:08 -05:00
rodzic 633ed0a02d
commit a31d6b2e6d
2 zmienionych plików z 2 dodań i 2 usunięć
@@ -1,4 +1,4 @@
set(CMAKE_CXX_FLAGS "-std=c++11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../common)
+1 -1
Wyświetl plik
@@ -1,4 +1,4 @@
set(CMAKE_CXX_FLAGS "-std=c++11")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
option(GENERIC_IS_ZERO "Teach LLVM/Clang that generic address space IS address space 0 for AMDGPU target" OFF)
if (GENERIC_IS_ZERO)