From 6616983f2da60c88278713ff6f18c4313492388e Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Tue, 19 Dec 2017 08:12:24 +0100 Subject: nx-libs.spec: re-add %{optflags} to CDEBUGFLAGS. I didn't mean to drop it in the first place in 07d308359995e07285b5c15d897c2617b52f0093 and 71bda0ed5c05e6bd75278ae7f88991f8ff35709e. Dropping the sed hack was fine - but we actually have to add these flags to CDEBUGFLAGS as well. --- nx-libs.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nx-libs.spec') diff --git a/nx-libs.spec b/nx-libs.spec index f3f49eeb2..498fa900d 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -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 -- cgit v1.2.3