]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
testsuite: intent if/else in Makefile
authorStephen Hemminger <stephen@networkplumber.org>
Wed, 12 Jun 2019 15:48:33 +0000 (08:48 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 12 Jun 2019 15:48:33 +0000 (08:48 -0700)
Indent both arms of if/else equally.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Makefile
testsuite/Makefile

index 48f469b0d0a85626b9ac2f36d61fece865c57737..6c35e7c28e81339bd3decdb40b934cc2ef040654 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ HOSTCC ?= $(CC)
 DEFINES += -D_GNU_SOURCE
 # Turn on transparent support for LFS
 DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-CCOPTS = -O2
+CCOPTS = -O2 -pipe
 WFLAGS := -Wall -Wstrict-prototypes  -Wmissing-prototypes
 WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2
 
index 7f247bbc1c80331f6dfd7a2157e310a47f22720d..d5408646c6164ff746deb67dc3f8a912a30fcc94 100644 (file)
@@ -18,9 +18,9 @@ KENVFN := $(shell mktemp /tmp/tc_testkenv.XXXXXX)
 ifneq (,$(wildcard /proc/config.gz))
        KCPATH := /proc/config.gz
 else
-KVER := $(shell uname -r)
-KCPATHS := /lib/modules/$(KVER)/config /boot/config-$(KVER)
-KCPATH := $(firstword $(wildcard $(KCPATHS)))
+       KVER := $(shell uname -r)
+       KCPATHS := /lib/modules/$(KVER)/config /boot/config-$(KVER)
+       KCPATH := $(firstword $(wildcard $(KCPATHS)))
 endif
 
 .PHONY: compile listtests alltests configure $(TESTS)