diff options
author | Peter Jones <pjones@redhat.com> | 2006-03-24 15:38:51 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2006-03-24 15:38:51 +0000 |
commit | 72eb48a7e39830dd47ce5b4a83ce840d24a26854 (patch) | |
tree | d7a0ce65f788f4816eecdeb9b6d7680f6bc24732 /Makefile.inc | |
parent | cc285e06f07d1bf4a6793cd9950c2aa05fb966cd (diff) | |
download | anaconda-72eb48a7e39830dd47ce5b4a83ce840d24a26854.tar.gz anaconda-72eb48a7e39830dd47ce5b4a83ce840d24a26854.tar.xz anaconda-72eb48a7e39830dd47ce5b4a83ce840d24a26854.zip |
- Fix SELinux conditional inclusion/build
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc index 1e0c0ee9f..046026297 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -26,8 +26,13 @@ endif USESELINUX=1 +ifeq ($(USESELINUX),1) +SELINUXLIBES = -lselinux -lsepol +SELINUXFLAGS = -DUSESELINUX=1 +endif + ifndef RPM_OPT_FLAGS RPM_OPT_FLAGS = -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions endif -CFLAGS = $(RPM_OPT_FLAGS) -Wall -Werror -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 +CFLAGS = $(RPM_OPT_FLAGS) -Wall -Werror -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 $(SELINUXFLAGS) |