From bed7f45659f6b277b56dfbd6f81435c598b06b08 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 26 Feb 2018 16:11:31 +0100 Subject: [PATCH] build setlayout with hardening LDFLAGS (#1548830) --- openbox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox.spec b/openbox.spec index 14ee2cd..2a611ef 100644 --- a/openbox.spec +++ b/openbox.spec @@ -102,7 +102,7 @@ sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtoo sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} -gcc %{optflags} -o setlayout %{SOURCE1} -lX11 +gcc $RPM_OPT_FLAGS $RPM_LD_FLAGS -o setlayout %{SOURCE1} -lX11 %install make install DESTDIR=%{buildroot}