From 270e2229bfc24433e26c879afba41d9f4cb20b55 Mon Sep 17 00:00:00 2001 From: Alexander Kuleshov Date: Sat, 5 Dec 2015 23:14:03 +0600 Subject: [PATCH] bsd.lib.mk: No need to check DEBUG_FLAGS twice We no need to check the DEBUG_FLAGS twice in the share/mk/bsd.lib.mk, we can just add '.else' clause to the first check. --- share/mk/bsd.lib.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index a586f3b..8240fb2 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -23,9 +23,7 @@ SONAME?= ${SHLIB_NAME} .if defined(DEBUG_FLAGS) CFLAGS+= ${DEBUG_FLAGS} -.endif - -.if !defined(DEBUG_FLAGS) +.else STRIP?= -s .endif -- 2.5.0