forked from platformio/platformio-core
Improve building of ASM files
This commit is contained in:
1 parent
d142b6e6d1
commit
fedb7527f4
4 files changed
+23
-19
No files matched your search
@@ -16,18 +16,17 @@ env = DefaultEnvironment()
|
||||
|
||||
env.Replace(
|
||||
AR="msp430-ar",
|
||||
AS="msp430-gcc",
|
||||
AS="msp430-as",
|
||||
CC="msp430-gcc",
|
||||
CXX="msp430-g++",
|
||||
OBJCOPY="msp430-objcopy",
|
||||
RANLIB="msp430-ranlib",
|
||||
SIZETOOL="msp430-size",
|
||||
|
||||
ASCOM=("$AS -o $TARGET -c -x assembler-with-cpp "
|
||||
"$CFLAGS $CCFLAGS $_CCCOMCOM $SOURCES"),
|
||||
|
||||
ARFLAGS=["rcs"],
|
||||
|
||||
ASPPFLAGS=["-x", "assembler-with-cpp"],
|
||||
|
||||
CCFLAGS=[
|
||||
"-g", # include debugging info (so errors include line numbers)
|
||||
"-Os", # optimize for size
|
||||
|
||||
Reference in new issue
Block a user