mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-10 08:07:18 +00:00
Enabled more debug
This commit is contained in:
parent
fd0b838631
commit
8eaa4e6cfb
9
Makefile
9
Makefile
@ -1,8 +1,8 @@
|
|||||||
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
||||||
EXTRA_CFLAGS += -O2
|
EXTRA_CFLAGS += -O2
|
||||||
#EXTRA_CFLAGS += -O3
|
#EXTRA_CFLAGS += -O3
|
||||||
#EXTRA_CFLAGS += -Wall
|
EXTRA_CFLAGS += -Wall
|
||||||
#EXTRA_CFLAGS += -Wextra
|
EXTRA_CFLAGS += -Wextra
|
||||||
#EXTRA_CFLAGS += -Werror
|
#EXTRA_CFLAGS += -Werror
|
||||||
#EXTRA_CFLAGS += -pedantic
|
#EXTRA_CFLAGS += -pedantic
|
||||||
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
|
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
|
||||||
@ -22,6 +22,11 @@ ifeq ($(GCC_VER_49),1)
|
|||||||
EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
|
EXTRA_CFLAGS += -Wno-date-time # Fix compile error && warning on gcc 4.9 and later
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Relax some warnings from '-Wextra' so we won't get flooded with warnings
|
||||||
|
EXTRA_CFLAGS += -Wno-sign-compare
|
||||||
|
EXTRA_CFLAGS += -Wno-missing-field-initializers
|
||||||
|
EXTRA_CFLAGS += -Wno-type-limits
|
||||||
|
|
||||||
EXTRA_CFLAGS += -I$(src)/include
|
EXTRA_CFLAGS += -I$(src)/include
|
||||||
EXTRA_CFLAGS += -I$(src)/hal/phydm
|
EXTRA_CFLAGS += -I$(src)/hal/phydm
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user