From c6f830d96cdc0ff88aeb8686a00e4f8238482b84 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 17 Oct 2015 21:19:21 +0300 Subject: Unset CPPFLAGS in env.sh --- dh_illumos_gate | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dh_illumos_gate b/dh_illumos_gate index d5492b0..d39b2b7 100755 --- a/dh_illumos_gate +++ b/dh_illumos_gate @@ -477,6 +477,9 @@ Define C to be C. Export all C variables (using C) to make them available from makefiles. +Unsets C. Many related variables are unset by F, +but this one. It breaks build. + =cut chdir $dh{DESTDIR}; @@ -511,6 +514,7 @@ if ( open( ENV, '>', $env ) ) { print ENV "export DEB_USRLIBDIR_32='/$usrlibdir32'\n"; print ENV "export DEB_LIBDIR_64='/$libdir64'\n"; print ENV "export DEB_USRLIBDIR_64='/$usrlibdir64'\n"; + print ENV "unset CPPFLAGS\n"; print ENV "export LDLIBS32=\"-L\$ROOT/\$DEB_LIBDIR_32 -L\$ROOT/\$DEB_USRLIBDIR_32\"\n"; print ENV -- cgit v1.2.3