[dm-devel] [PATCH 2/3] multipath-tools: merge OPTFLAGS into CFLAGS
Xose Vazquez Perez
xose.vazquez at gmail.com
Fri Jul 8 16:28:20 UTC 2016
OPTFLAGS is not used anywhere, but maybe it's intrusive for distributions.
Cc: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre at canonical.com>
Cc: Dragan Stancevic <dragan.stancevic at canonical.com>
Cc: Louis Bouchard <louis.bouchard at canonical.com>
Cc: Ritesh Raj Sarraf <rrs at debian.org>
Cc: Benjamin Marzinski <bmarzins at redhat.com>
Cc: Hannes Reinecke <hare at suse.de>
Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: device-mapper development <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
Makefile.inc | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc
index 01d743c..b7077fc 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -60,10 +60,9 @@ RM = rm -f
LN = ln -sf
INSTALL_PROGRAM = install
-OPTFLAGS = -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall \
- -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-
-CFLAGS = $(OPTFLAGS) -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\"
+CFLAGS = -Wunused -Wstrict-prototypes -O2 -g -pipe -Wformat-security -Wall \
+ -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 \
+ -fPIC -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\"
SHARED_FLAGS = -shared
%.o: %.c
--
2.7.4
More information about the dm-devel
mailing list