mirror of
https://github.com/SELinuxProject/selinux
synced 2025-04-29 14:18:02 +00:00
libsemanage/tests: do not force using gcc
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>
This commit is contained in:
parent
8647a6c621
commit
b7ac3286f2
@ -10,7 +10,6 @@ LIBS = ../src/libsemanage.a ../../libselinux/src/libselinux.a ../../libsepol/src
|
|||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
EXECUTABLE = libsemanage-tests
|
EXECUTABLE = libsemanage-tests
|
||||||
CC = gcc
|
|
||||||
CFLAGS += -g -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter
|
CFLAGS += -g -O0 -Wall -W -Wundef -Wmissing-noreturn -Wmissing-format-attribute -Wno-unused-parameter
|
||||||
INCLUDE = -I$(TESTSRC) -I$(TESTSRC)/../include
|
INCLUDE = -I$(TESTSRC) -I$(TESTSRC)/../include
|
||||||
LDFLAGS += -lcunit -lustr -lbz2 -laudit
|
LDFLAGS += -lcunit -lustr -lbz2 -laudit
|
||||||
|
Loading…
Reference in New Issue
Block a user