Refactor platform build scripts // Resolve #528

This commit is contained in:
Valeriy Koval committed 2016-02-22 21:52:44 +02:00
1 parent 66713021de
commit 17796de60d
7 files changed
+22 -10

No files matched your search

+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