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}