summaryrefslogtreecommitdiff
path: root/Modules/UseEcos.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-01-23 13:41:35 -0500
committerAlexander Neundorf <neundorf@kde.org>2007-01-23 13:41:35 -0500
commit863f2b76cb91cd1a62e15379dbd03ba4d282627b (patch)
tree5523f24517d99312f0bfb17059b2d1e4f64996d8 /Modules/UseEcos.cmake
parent152040fd8300540b80b4c64d5f2c62a7d8e0debe (diff)
downloadcmake-863f2b76cb91cd1a62e15379dbd03ba4d282627b.tar.gz
BUG: reent.c wasn't intended to be committed, too special
Alex
Diffstat (limited to 'Modules/UseEcos.cmake')
-rw-r--r--Modules/UseEcos.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/UseEcos.cmake b/Modules/UseEcos.cmake
index 63dce46309..c23b2369de 100644
--- a/Modules/UseEcos.cmake
+++ b/Modules/UseEcos.cmake
@@ -116,7 +116,6 @@ MACRO(ECOS_ADJUST_DIRECTORY _target_FILES )
ENDIF (NOT ${_abs_FILE} STREQUAL ${_current_FILE})
LIST(APPEND ${_target_FILES} ${_abs_FILE})
ENDFOREACH (_current_FILE)
- LIST(APPEND ${_target_FILES} ${CMAKE_SOURCE_DIR}/firmware/common/utils/src/reent.c)
ENDMACRO(ECOS_ADJUST_DIRECTORY)
# the default ecos config file name
@@ -176,7 +175,7 @@ MACRO(ECOS_ADD_EXECUTABLE _exe_NAME )
# special link commands for ecos-executables
SET(CMAKE_CXX_LINK_EXECUTABLE "<CMAKE_CXX_COMPILER> <CMAKE_CXX_LINK_FLAGS> <OBJECTS> -o <TARGET> ${_ecos_EXTRA_LIBS} -nostdlib -nostartfiles -L${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib -Ttarget.ld ${ECOS_LD_MCPU}")
SET(CMAKE_C_LINK_EXECUTABLE "<CMAKE_C_COMPILER> <CMAKE_C_LINK_FLAGS> <OBJECTS> -o <TARGET> ${_ecos_EXTRA_LIBS} -nostdlib -nostartfiles -L${CMAKE_CURRENT_BINARY_DIR}/ecos/install/lib -Ttarget.ld ${ECOS_LD_MCPU}")
-# some strict compiler flags
+# some strict compiler flags
SET (CMAKE_C_FLAGS "-Wstrict-prototypes")
SET (CMAKE_CXX_FLAGS "-Woverloaded-virtual -fno-rtti -Wctor-dtor-privacy -fno-strict-aliasing -fno-exceptions")