aboutsummaryrefslogtreecommitdiff
path: root/nx-libs.spec
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-12-19 08:12:24 +0100
committerMihai Moldovan <ionic@ionic.de>2017-12-19 08:13:31 +0100
commit6616983f2da60c88278713ff6f18c4313492388e (patch)
tree86840d05e877320e4e29ccd013d933b50960c7c0 /nx-libs.spec
parent08ad4d04dbd7f08fa5f4b95177dc128e2fdabbb8 (diff)
downloadnx-libs-6616983f2da60c88278713ff6f18c4313492388e.tar.gz
nx-libs-6616983f2da60c88278713ff6f18c4313492388e.tar.bz2
nx-libs-6616983f2da60c88278713ff6f18c4313492388e.zip
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.
Diffstat (limited to 'nx-libs.spec')
-rw-r--r--nx-libs.spec2
1 files changed, 1 insertions, 1 deletions
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