diff options
-rw-r--r-- | debian/changelog | 7 | ||||
-rwxr-xr-x | dh_illumos_gate | 6 |
2 files changed, 13 insertions, 0 deletions
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 <pashev.igor@gmail.com> 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<TEXT_DOMAIN= SUNW_OST_OSCMD > 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 + ); } |