aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-10-16 10:04:54 +0200
committerMihai Moldovan <ionic@ionic.de>2017-10-16 10:04:54 +0200
commit13aed2463c7f10e238af86227c2d999b9fa620f2 (patch)
treeb7c621c15569f4da59904d7c545c43d6b28c48fc /debian/rules
parent9d750c686a3ce6d457041cdf5991a1a0749a8d0c (diff)
downloadnx-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 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 10a079872..86c8b5811 100755
--- a/debian/rules
+++ b/debian/rules
@@ -141,7 +141,7 @@ override_dh_auto_build:
cp -av .preserve/* .
rm -Rf .preserve/
- LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS="$(LDFLAGS)" SHLIBDIR="$(LIBDIR)" PREFIX=/usr dh_auto_build --parallel
+ PREFIX=/usr dh_auto_build --parallel -- CDEBUGFLAGS="$(CPPFLAGS) $(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS="$(LDFLAGS)" SHLIBDIR="$(LIBDIR)"
override_dh_strip:
dh_strip -plibnx-x11-6 --dbg-package=libnx-x11-6-dbg