[PATCH 12/93] libsemanage: use -Werror

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch looks good to me. acked.
>From 112f4344b54aa71740e26fb35e96b019aea948cf Mon Sep 17 00:00:00 2001
From: root <root@(none).(none)>
Date: Fri, 24 Jun 2011 16:43:09 -0400
Subject: [PATCH 12/93] libsemanage: use -Werror

libsemanage should use -Werror just like libselinux

Signed-off-by: Eric Paris <eparis@xxxxxxxxxx>
---
 libsemanage/src/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libsemanage/src/Makefile b/libsemanage/src/Makefile
index 7acf63d..f3e5973 100644
--- a/libsemanage/src/Makefile
+++ b/libsemanage/src/Makefile
@@ -46,7 +46,7 @@ SRCS= $(filter-out $(SWIGGEN),$(wildcard *.c))
 
 OBJS= $(patsubst %.c,%.o,$(SRCS)) conf-scan.o conf-parse.o
 LOBJS= $(patsubst %.c,%.lo,$(SRCS)) conf-scan.lo conf-parse.lo
-CFLAGS ?= -Wall -W -Wundef -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter
+CFLAGS ?= -Werror -Wall -W -Wundef -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter
 
 override CFLAGS += -I../include -I$(INCLUDEDIR) -D_GNU_SOURCE 
 
-- 
1.7.6


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux