Append Core (IDF) after the user libraries when linking a firmware

This commit is contained in:
Ivan Kravets 2017-11-30 18:37:51 +02:00 committed by GitHub
parent 2179182188
commit d1d56b597a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ env.Prepend(
"-Wno-error=unused-function",
"-Wno-unused-parameter",
"-Wno-sign-compare",
# "-fstack-protector"
"-fstack-protector"
],
CPPPATH=[
@ -173,7 +173,7 @@ libs.append(envsafe.BuildLibrary(
join(FRAMEWORK_DIR, "cores", env.BoardConfig().get("build.core"))
))
env.Prepend(LIBS=libs)
env.Append(LIBS=libs)
#
# Generate partition table