Changeset 466 for trunk/params-soft.mk


Ignore:
Timestamp:
Aug 19, 2018, 4:34:22 PM (6 years ago)
Author:
viala@…
Message:

Improvement: Add -Wextra warnings to GCC, add more debug symbols.

-Wextra : includes warning not present in -Wall.
ref: https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
-ggdb : « produces debugging information specifically intended for gdb »
ref: https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/params-soft.mk

    r459 r466  
    6868ifeq ($(ARCH_NAME), tsar_mips32)
    6969    $(info ARCH_NAME is tsar_mips32)
    70     export CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g -O2 \
    71                 -fno-delete-null-pointer-checks -std=gnu89
     70    export CFLAGS = -Wall -Wextra -ffreestanding -mno-gpopt -mips32 -g -ggdb -O2 \
     71                -fno-delete-null-pointer-checks -std=gnu89
    7272    export CC = mipsel-unknown-elf-gcc
    7373    export AS = mipsel-unknown-elf-as
Note: See TracChangeset for help on using the changeset viewer.