summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cmake.py b/tools/cmake.py
index 876c3985fe..645bdbb229 100644
--- a/tools/cmake.py
+++ b/tools/cmake.py
@@ -39,7 +39,7 @@ def GenerateCFiles(env,project):
cm_file.write("SET(CMAKE_SIZE \""+ SIZE + "\")\n\n")
- cm_file.write("SET(CMAKE_C_FLAGS \""+ rtconfig.CFLAGS + " -nostdlib\")\n")
+ cm_file.write("SET(CMAKE_C_FLAGS \""+ rtconfig.CFLAGS + "\")\n")
cm_file.write("SET(CMAKE_CXX_FLAGS \""+ rtconfig.CXXFLAGS + "\")\n")
cm_file.write("SET(CMAKE_ASM_FLAGS \""+ rtconfig.AFLAGS + "\")\n")
cm_file.write("SET(CMAKE_EXE_LINKER_FLAGS \""+ re.sub('-T(\s*)', '-T ${CMAKE_SOURCE_DIR}/',rtconfig.LFLAGS) + "\")\n\n")