Refactor platform build scripts // Resolve #528

This commit is contained in:
Valeriy Koval
2016-02-22 21:52:44 +02:00
parent 66713021de
commit 17796de60d
7 changed files with 22 additions and 10 deletions
+5 -2
View File
@@ -31,9 +31,12 @@ env.Replace(
ARFLAGS=["rcs"],
ASPPFLAGS=["-x", "assembler-with-cpp"],
ASFLAGS=[
"-x", "assembler-with-cpp",
"$CCFLAGS"
],
CPPFLAGS=[
CCFLAGS=[
"-g", # include debugging info (so errors include line numbers)
"-Os", # optimize for size
"-ffunction-sections", # place each function in its own section