mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 20:43:43 +08:00
[tools/cmake] fix the issue of the missing link flags added in Sconscript (#8957)
This commit is contained in:
@@ -38,7 +38,7 @@ def GenerateCFiles(env,project):
|
||||
else:
|
||||
CXXFLAGS = CFLAGS
|
||||
AFLAGS = rtconfig.AFLAGS.replace('\\', "/").replace('\"', "\\\"")
|
||||
LFLAGS = rtconfig.LFLAGS.replace('\\', "/").replace('\"', "\\\"")
|
||||
LFLAGS = env['LINKFLAGS'].replace('\\', "/").replace('\"', "\\\"")
|
||||
|
||||
if "win32" in sys.platform:
|
||||
CC += ".exe"
|
||||
|
Reference in New Issue
Block a user