Removed unused variables.
This commit is contained in:
parent
352a8cc814
commit
f18102f3e4
|
@ -132,10 +132,10 @@ set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O2")
|
|||
set(CMAKE_ASM_FLAGS_RELEASE "-DNDEBUG -O2")
|
||||
|
||||
# Final compiler flags
|
||||
set(CMAKE_C_FLAGS "${TARGET_CFLAGS_HARDWARE} ${TARGET_CFLAGS_EXTRA} ${TARGET_CFLGAGS_DEBUG} -Wall -fdata-sections -ffunction-sections -ffreestanding -fno-builtin")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} ${TARGET_CXXFLAGS_EXTRA}")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${TARGET_CFLAGS_HARDWARE} ${TARGET_CFLAGS_EXTRA} -Wall -fdata-sections -ffunction-sections -ffreestanding -fno-builtin")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TARGET_CFLAGS_HARDWARE} ${TARGET_CXXFLAGS_EXTRA} -Wall -fdata-sections -ffunction-sections -ffreestanding -fno-builtin")
|
||||
set(CMAKE_ASM_FLAGS "${CMAKE_C_FLAGS} -x assembler-with-cpp")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_C_FLAGS} -specs=nano.specs -specs=nosys.specs -Wl,--gc-sections -lc -lm -lnosys ${TARGET_LDFLAGS_EXTRA}")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-specs=nano.specs -specs=nosys.specs -Wl,--gc-sections -lc -lm -lnosys ${TARGET_LDFLAGS_EXTRA}")
|
||||
|
||||
# Main targets are added here
|
||||
|
||||
|
|
Loading…
Reference in New Issue