OPTFLAGS is not used anywhere, but maybe it's intrusive for distributions.
Cc: Mathieu Trudel-Lapierre <[email protected]>
Cc: Dragan Stancevic <[email protected]>
Cc: Louis Bouchard <[email protected]>
Cc: Ritesh Raj Sarraf <[email protected]>
Cc: Benjamin Marzinski <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Christophe Varoqui <[email protected]>
Cc: device-mapper development <[email protected]>
Signed-off-by: Xose Vazquez Perez <[email protected]>
---
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
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel