diff mbox

[2/3] libsemanage/tests: do not force using gcc

Message ID 20160925121609.14516-2-nicolas.iooss@m4x.org (mailing list archive)
State Not Applicable
Headers show

Commit Message

Nicolas Iooss Sept. 25, 2016, 12:16 p.m. UTC
Allow using other compilers such as clang. Without this, the build fails
when $(CFLAGS) contains clang-specific flags:

    gcc: error: unrecognized command line option '-Weverything'

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 libsemanage/tests/Makefile | 1 -
 1 file changed, 1 deletion(-)
diff mbox

Patch

diff --git a/libsemanage/tests/Makefile b/libsemanage/tests/Makefile
index fec96ffd282b..4b81fed70660 100644
--- a/libsemanage/tests/Makefile
+++ b/libsemanage/tests/Makefile
@@ -10,7 +10,6 @@  LIBS = ../src/libsemanage.a ../../libselinux/src/libselinux.a ../../libsepol/src
 ###########################################################################
 
 EXECUTABLE = libsemanage-tests
-CC = gcc
 CFLAGS += -g -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter
 INCLUDE = -I$(TESTSRC) -I$(TESTSRC)/../include
 LDFLAGS += -lcunit -lustr -lbz2 -laudit