diff --git a/tools/profiles/debug.json b/tools/profiles/debug.json index b298ad7377..f175aecec2 100644 --- a/tools/profiles/debug.json +++ b/tools/profiles/debug.json @@ -4,7 +4,7 @@ "-Wno-unused-parameter", "-Wno-missing-field-initializers", "-fmessage-length=0", "-fno-exceptions", "-ffunction-sections", "-fdata-sections", "-funsigned-char", - "-MMD", "-fno-delete-null-pointer-checks", + "-MMD", "-fomit-frame-pointer", "-Og", "-g3", "-DMBED_DEBUG", "-DMBED_TRAP_ERRORS_ENABLED=1"], "asm": ["-x", "assembler-with-cpp"], diff --git a/tools/profiles/develop.json b/tools/profiles/develop.json index 7dd8a96d17..2cd3685bab 100644 --- a/tools/profiles/develop.json +++ b/tools/profiles/develop.json @@ -4,7 +4,7 @@ "-Wno-unused-parameter", "-Wno-missing-field-initializers", "-fmessage-length=0", "-fno-exceptions", "-ffunction-sections", "-fdata-sections", "-funsigned-char", - "-MMD", "-fno-delete-null-pointer-checks", + "-MMD", "-fomit-frame-pointer", "-Os", "-g", "-DMBED_TRAP_ERRORS_ENABLED=1"], "asm": ["-x", "assembler-with-cpp"], "c": ["-std=gnu11"], diff --git a/tools/profiles/release.json b/tools/profiles/release.json index 2aab24f6c8..075e8a46d2 100644 --- a/tools/profiles/release.json +++ b/tools/profiles/release.json @@ -4,7 +4,7 @@ "-Wno-unused-parameter", "-Wno-missing-field-initializers", "-fmessage-length=0", "-fno-exceptions", "-ffunction-sections", "-fdata-sections", "-funsigned-char", - "-MMD", "-fno-delete-null-pointer-checks", + "-MMD", "-fomit-frame-pointer", "-Os", "-DNDEBUG", "-g"], "asm": ["-x", "assembler-with-cpp"], "c": ["-std=gnu11"],