Fix typo (GCC->CLANG) in general Clang compiler defs.
authorKalle Raita <kraita@google.com>
Mon, 20 Oct 2014 19:17:21 +0000 (12:17 -0700)
committerPyry Haulos <phaulos@google.com>
Tue, 11 Nov 2014 16:41:39 +0000 (16:41 +0000)
Bug: 18329517
Change-Id: I440f37723987c1dd85e7482f0d32ac157565e25d
(cherry picked from commit 713ab1e9034564f842935cd011fdea8abc9ea90c)

framework/delibs/cmake/CFlags.cmake

index 5d4b982..e468b56 100644 (file)
@@ -148,9 +148,9 @@ elseif (DE_COMPILER_IS_CLANG)
        set(CLANG_COMMON_FLAGS "-Wall -Wextra -Wno-long-long -Wshadow -Wundef")
 
        if (DE_CPU_IS_X86)
-               set(GCC_MACHINE_FLAGS "-m32")
+               set(CLANG_MACHINE_FLAGS "-m32")
        elseif (DE_CPU_IS_X86_64)
-               set(GCC_MACHINE_FLAGS "-m64")
+               set(CLANG_MACHINE_FLAGS "-m64")
        endif ()
 
        # For 3rd party sw disable all warnings