mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-22 13:35:00 +00:00
Avoid hide compilation warnings
Must be fixed instead of ignored
This commit is contained in:
parent
d4dcb38048
commit
098afbae96
4
Makefile
4
Makefile
@ -4,12 +4,8 @@ EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
|
|||||||
EXTRA_CFLAGS += -O2
|
EXTRA_CFLAGS += -O2
|
||||||
##################### Compile-time Warnings #######################
|
##################### Compile-time Warnings #######################
|
||||||
EXTRA_CFLAGS += -Wno-unused-variable
|
EXTRA_CFLAGS += -Wno-unused-variable
|
||||||
EXTRA_CFLAGS += -Wno-unused-value
|
|
||||||
EXTRA_CFLAGS += -Wno-unused-label
|
EXTRA_CFLAGS += -Wno-unused-label
|
||||||
EXTRA_CFLAGS += -Wno-unused-parameter
|
|
||||||
EXTRA_CFLAGS += -Wno-unused-function
|
EXTRA_CFLAGS += -Wno-unused-function
|
||||||
#EXTRA_CFLAGS += -Wno-vla
|
|
||||||
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 )
|
||||||
ifeq ($(GCC_VER_49),1)
|
ifeq ($(GCC_VER_49),1)
|
||||||
|
Loading…
Reference in New Issue
Block a user