mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-01 03:05:34 +00:00
Fix compilation warnings instead of ignore it.
This commit is contained in:
parent
4868187fe6
commit
d3c6644e10
10
Makefile
10
Makefile
@ -1,23 +1,15 @@
|
|||||||
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
||||||
|
|
||||||
##################### Optimization Flags ##########################
|
##################### Optimization Flags ##########################
|
||||||
#EXTRA_CFLAGS += -O1
|
|
||||||
EXTRA_CFLAGS += -O2
|
EXTRA_CFLAGS += -O2
|
||||||
#EXTRA_CFLAGS += -O3
|
|
||||||
##################### Compile-time Warnings #######################
|
##################### Compile-time Warnings #######################
|
||||||
#EXTRA_CFLAGS += -Wall
|
|
||||||
#EXTRA_CFLAGS += -Wextra
|
|
||||||
#EXTRA_CFLAGS += -Werror
|
|
||||||
#EXTRA_CFLAGS += -pedantic
|
|
||||||
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
|
|
||||||
#EXTRA_CFLAGS += -Wno-uninitialized
|
|
||||||
EXTRA_CFLAGS += -Wno-unused-variable
|
EXTRA_CFLAGS += -Wno-unused-variable
|
||||||
EXTRA_CFLAGS += -Wno-unused-value
|
EXTRA_CFLAGS += -Wno-unused-value
|
||||||
EXTRA_CFLAGS += -Wno-unused-label
|
EXTRA_CFLAGS += -Wno-unused-label
|
||||||
EXTRA_CFLAGS += -Wno-unused-parameter
|
EXTRA_CFLAGS += -Wno-unused-parameter
|
||||||
EXTRA_CFLAGS += -Wno-unused-function
|
EXTRA_CFLAGS += -Wno-unused-function
|
||||||
EXTRA_CFLAGS += -Wno-unused
|
EXTRA_CFLAGS += -Wno-unused
|
||||||
EXTRA_CFLAGS += -Wno-incompatible-pointer-types
|
#EXTRA_CFLAGS += -Wno-incompatible-pointer-types
|
||||||
EXTRA_CFLAGS += -Wno-date-time
|
EXTRA_CFLAGS += -Wno-date-time
|
||||||
|
|
||||||
GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )
|
GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )
|
||||||
|
Loading…
Reference in New Issue
Block a user