]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
tools/testing/selftests/powerpc: remove redundant CFLAGS in Makefile: "-Wall -O2...
authorChijun Sima <simachijun@outlook.com>
Sun, 19 Feb 2017 08:19:20 +0000 (08:19 +0000)
committerJiri Kosina <jkosina@suse.cz>
Fri, 24 Mar 2017 14:46:39 +0000 (15:46 +0100)
There are repeated compiler flags "-Wall" in the Makefile.

The redundant compiler flag appears to have been there from the
 introduction of the Makefile.

Signed-off-by: Chijun Sima <simachijun@qq.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
tools/testing/selftests/powerpc/Makefile

index 1c5d0575802e47113b49b4b0facfd7bff47a6620..9a4841219f9384733914a891b31535c8894a85e3 100644 (file)
@@ -8,7 +8,7 @@ ifeq ($(ARCH),powerpc)
 
 GIT_VERSION = $(shell git describe --always --long --dirty || echo "unknown")
 
-CFLAGS := -std=gnu99 -Wall -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CURDIR)/include $(CFLAGS)
+CFLAGS := -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CURDIR)/include $(CFLAGS)
 
 export CFLAGS