diff --git a/cmake/arch.cmake b/cmake/arch.cmake index e18e554e5..2d380adeb 100644 --- a/cmake/arch.cmake +++ b/cmake/arch.cmake @@ -42,7 +42,6 @@ endif() if(NOT WSIZE) # Default is 64 bits. - set(AFLAGS "-m64") set(WSIZE 64) if(ARCH STREQUAL "X64" OR ARCH STREQUAL "A64") set(AFLAGS "-m64") @@ -52,7 +51,7 @@ if(NOT WSIZE) set(WSIZE 32) elseif(ARCH STREQUAL "MSP") set(WSIZE 16) - elseif(ARCH STREQUAL "MSP") + elseif(ARCH STREQUAL "AVR") set(WSIZE 8) endif() endif()