Commit 6616983f authored by Mihai Moldovan's avatar Mihai Moldovan

nx-libs.spec: re-add %{optflags} to CDEBUGFLAGS.

I didn't mean to drop it in the first place in 07d30835 and 71bda0ed. Dropping the sed hack was fine - but we actually have to add these flags to CDEBUGFLAGS as well.
parent 08ad4d04
......@@ -408,7 +408,7 @@ chmod a+x my_configure;
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
export SHLIBGLOBALSFLAGS="%{__global_ldflags}"
export LOCAL_LDFLAGS="%{__global_ldflags}"
export CDEBUGFLAGS="%{?__global_cppflags} %{?__global_cflags}"
export CDEBUGFLAGS="%{?__global_cppflags} %{?__global_cflags} %{?optflags}"
make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" PREFIX=%{_prefix} LIBDIR=%{_libdir} CDEBUGFLAGS="${CDEBUGFLAGS}" LOCAL_LDFLAGS="${LOCAL_LDFLAGS}" SHLIBGLOBALSFLAGS="${SHLIBGLOBALSFLAGS}"
%install
......
Markdown is supported
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