summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2019-06-12 08:48:33 -0700
committerStephen Hemminger <stephen@networkplumber.org>2019-06-12 08:48:33 -0700
commitb0a09ace394c274d8adc90875dc64ef21a17564f (patch)
tree72e9cdcaa8447a6848f58fd9d7d2506d20e09c40
parentc934da8aaacb015e08ac8abbbd0aa696a7ef19fd (diff)
downloadiproute2-b0a09ace394c274d8adc90875dc64ef21a17564f.tar.gz
testsuite: intent if/else in Makefile
Indent both arms of if/else equally. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
-rw-r--r--Makefile2
-rw-r--r--testsuite/Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 48f469b0..6c35e7c2 100644
--- 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
diff --git a/testsuite/Makefile b/testsuite/Makefile
index 7f247bbc..d5408646 100644
--- a/testsuite/Makefile
+++ b/testsuite/Makefile
@@ -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)