parisc: math-emu: Avoid compiler warnings with W=1
authorHelge Deller <deller@gmx.de>
Mon, 3 Jul 2023 16:38:02 +0000 (18:38 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 3 Jul 2023 16:56:03 +0000 (18:56 +0200)
The math-emu code is a snapshot from the HP-UX kernel. They've
been modified as little as possible.
See arch/parisc/math-emu/README.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/math-emu/Makefile

index 3747a0c..7b64740 100644 (file)
@@ -6,7 +6,8 @@
 # See arch/parisc/math-emu/README
 ccflags-y := -Wno-parentheses -Wno-implicit-function-declaration \
        -Wno-uninitialized -Wno-strict-prototypes -Wno-return-type \
-       -Wno-implicit-int
+       -Wno-implicit-int -Wno-missing-prototypes -Wno-missing-declarations \
+       -Wno-old-style-definition -Wno-unused-but-set-variable
 
 obj-y   := frnd.o driver.o decode_exc.o fpudispatch.o denormal.o \
                dfmpy.o sfmpy.o sfsqrt.o dfsqrt.o dfadd.o fmpyfadd.o \