diff options
author | Mihai Moldovan <ionic@ionic.de> | 2017-10-16 10:04:54 +0200 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-10-16 10:04:54 +0200 |
commit | 13aed2463c7f10e238af86227c2d999b9fa620f2 (patch) | |
tree | b7c621c15569f4da59904d7c545c43d6b28c48fc /nx-libs.spec | |
parent | 9d750c686a3ce6d457041cdf5991a1a0749a8d0c (diff) | |
download | nx-libs-13aed2463c7f10e238af86227c2d999b9fa620f2.tar.gz nx-libs-13aed2463c7f10e238af86227c2d999b9fa620f2.tar.bz2 nx-libs-13aed2463c7f10e238af86227c2d999b9fa620f2.zip |
OPTFLAGS: Properly propagate build option flags to nxcomp{,ext,shad} and the nx-X11 build scripts.
Backported from Arctica GH 3.6.x branch.
v2: backport to nx-libs 3.5.0.x (Mihai Moldovan)
Adds:
- debian/patches/1500_all_propagate-optflags-to-subcompone.full+lite.patch
Diffstat (limited to 'nx-libs.spec')
-rw-r--r-- | nx-libs.spec | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index ab7c01ad0..ab32deb49 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -766,6 +766,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}" make %{?_smp_mflags} CONFIGURE="$PWD/my_configure" PREFIX=%{_prefix} USRLIBDIR=%{_libdir} SHLIBDIR=%{_libdir} %install |