From 2e271a677ada28ba80281c8972e8a4ce15c09811 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 12 Jan 2013 10:42:59 +0400 Subject: dh_illumos_gate removes -Wl,-I/lib/ld.so.1 --- debian/changelog | 7 +++++++ dh_illumos_gate | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/debian/changelog b/debian/changelog index b476f58..8253626 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +dh-illumos (9.5.5) unstable; urgency=low + + * dh_illumos_gate removes -Wl,-I/lib/ld.so.1 from LDFLAGS + in usr/src/cmd/Makefile.cmd + + -- Igor Pashev Sat, 12 Jan 2013 10:42:47 +0400 + dh-illumos (9.5.4) unstable; urgency=low * Use explicit ctfstabs and ctfconvert for creating offsets diff --git a/dh_illumos_gate b/dh_illumos_gate index 72affcd..ed8da8e 100755 --- a/dh_illumos_gate +++ b/dh_illumos_gate @@ -275,6 +275,8 @@ if (-f $Makefile_lib) { Remove trailing spaces in the line C Maybe we should patch GNU make to do it for us in SunOS mode. + Remove linker flag for setting ELF interpreter (-Wl,-I/lib/ld.so.1) + =cut my $Makefile_cmd = 'usr/src/cmd/Makefile.cmd'; @@ -287,6 +289,10 @@ if (-f $Makefile_cmd) { /^TEXT_DOMAIN/ s,\s+$,,g; ', $Makefile_cmd ); + doit('sed', '-r', '-i', ' + /LDFLAGS\s*\+=\s*-Wl,-I\/lib\/ld\.so\.1/d; + ', $Makefile_cmd + ); } -- cgit v1.2.3