Skip to content

Commit 685f4ed

Browse files
theotherjimmy0xc0170
authored andcommitted
Adds -funsigned-char to default gcc args
It would resolve #1525, but for the fact that KDS is used.
1 parent c6fc70e commit 685f4ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/toolchains/gcc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class GCC(mbedToolchain):
3333
'common': ["-c", "-Wall", "-Wextra",
3434
"-Wno-unused-parameter", "-Wno-missing-field-initializers",
3535
"-fmessage-length=0", "-fno-exceptions", "-fno-builtin",
36-
"-ffunction-sections", "-fdata-sections",
36+
"-ffunction-sections", "-fdata-sections", "-funsigned-char",
3737
"-MMD", "-fno-delete-null-pointer-checks", "-fomit-frame-pointer"
3838
],
3939
'asm': ["-x", "assembler-with-cpp"],

0 commit comments

Comments
 (0)