Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee264346 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman
Browse files

staging: rtl8723au: Add compiler check for -Wtype-limits



Gcc versions before 4.3 do not support -Wtype-limits:

cc1: error: unrecognized command line option "-Wtype-limits"

Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7579a7e4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -52,4 +52,5 @@ r8723au-$(CONFIG_8723AU_AP_MODE) += core/rtw_ap.o

obj-$(CONFIG_R8723AU)	:= r8723au.o

ccflags-y += -Wtype-limits -D__CHECK_ENDIAN__ -I$(src)/include
ccflags-y += $(call cc-option,-Wtype-limits,)
ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/include