policycoreutils: Do not include LDFLAGS in CFLAGS when building sepolicy
For some reasons, -fpie and -fPIE are being set in LDFLAGS, this is causing a FTBFS on Debian. -fpie and -fPIE are anyway useless for libraries
This commit is contained in:
parent
3c20b742ca
commit
c2824833a6
|
@ -9,7 +9,7 @@ LOCALEDIR ?= /usr/share/locale
|
|||
PYTHON ?= /usr/bin/python
|
||||
BASHCOMPLETIONDIR ?= $(DESTDIR)/etc/bash_completion.d/
|
||||
SHAREDIR ?= $(PREFIX)/share/sandbox
|
||||
override CFLAGS = $(LDFLAGS) -I$(PREFIX)/include -DPACKAGE="policycoreutils" -Wall -Werror -Wextra -W -DSHARED -shared
|
||||
override CFLAGS = -I$(PREFIX)/include -DPACKAGE="policycoreutils" -Wall -Werror -Wextra -W -DSHARED -shared
|
||||
|
||||
BASHCOMPLETIONS=sepolicy-bash-completion.sh
|
||||
|
||||
|
|
Loading…
Reference in New Issue