From be0e6048cfdd952ccb6b7fd7a971a4b2e1e06059 Mon Sep 17 00:00:00 2001 From: Mark Searles Date: Tue, 30 May 2023 13:19:07 -0700 Subject: [PATCH] Removing __linux__ definition in CMake Removing this definition as this should already be defined by compiler. This is causing compile errors on newer versions of llvm because the macro is being redefined. Change-Id: I3bf03617970d4b76dabce36ed980523673afadc5 [ROCm/rocminfo commit: c8db38ede26422066d0faaf4e736eb6dad9b8529] --- projects/rocminfo/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/rocminfo/CMakeLists.txt b/projects/rocminfo/CMakeLists.txt index cbcf9d096e..ce135316d7 100755 --- a/projects/rocminfo/CMakeLists.txt +++ b/projects/rocminfo/CMakeLists.txt @@ -123,7 +123,6 @@ if(${BUILD_TYPE} STREQUAL "Debug") add_definitions(-DDEBUG) endif() -add_definitions(-D__linux__) add_definitions(-DLITTLEENDIAN_CPU=1) #