mirror of https://github.com/wolfSSL/wolfBoot.git
Revert changes to cppcheck and unused arguments
parent
8cb3d33339
commit
4e1c9f0e1f
3
Makefile
3
Makefile
|
|
@ -105,7 +105,7 @@ CFLAGS+= \
|
|||
# Setup default optimizations (for GCC)
|
||||
ifeq ($(USE_GCC_HEADLESS),1)
|
||||
CFLAGS+=-Wall -Wextra -Wno-main -ffreestanding -Wno-unused -nostartfiles
|
||||
CFLAGS+=-ffunction-sections -fdata-sections -fomit-frame-pointer -Wno-unused-variable
|
||||
CFLAGS+=-ffunction-sections -fdata-sections -fomit-frame-pointer
|
||||
LDFLAGS+=-Wl,-gc-sections -Wl,-Map=wolfboot.map -ffreestanding -nostartfiles
|
||||
# Not setting LDFLAGS directly since it is passed to the test-app
|
||||
LSCRIPT_FLAGS+=-T $(LSCRIPT)
|
||||
|
|
@ -531,7 +531,6 @@ cppcheck:
|
|||
cppcheck -f --enable=warning --enable=portability \
|
||||
--suppress="ctunullpointer" --suppress="nullPointer" \
|
||||
--suppress="objectIndex" --suppress="comparePointers" \
|
||||
--suppress="subtractPointers" --suppress="intToPointerCast" \
|
||||
--check-level=exhaustive \
|
||||
--error-exitcode=89 --std=c89 src/*.c hal/*.c hal/spi/*.c hal/uart/*.c
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue