Commit 27ac22a8 authored by Michał Kępień's avatar Michał Kępień
Browse files

Enable CPPFLAGS/CFLAGS/LDFLAGS customization

parent 30204cc1
......@@ -159,7 +159,9 @@ servers.
%{?scl:scl enable %scl -- <<\EOF}
set -e -v
export LDFLAGS="${LDFLAGS} -L%{_libdir}"
export CPPFLAGS="${CPPFLAGS}%{?extra_cppflags: %{extra_cppflags}}"
export CFLAGS="${CFLAGS}%{?extra_cflags: %{extra_cflags}}"
export LDFLAGS="${LDFLAGS} -L%{_libdir}%{?extra_ldflags: %{extra_ldflags}}"
# Some systems (e.g. Fedora 32+) set LT_SYS_LIBRARY_PATH to the value of the
# SCL's %%{_libdir}, which prevents RPATH for BIND binaries from being set to
# that path. However, we need RPATH to be set for BIND binaries in SCL-based
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment