diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-01-12 10:42:59 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-01-12 10:42:59 +0400 |
commit | 2e271a677ada28ba80281c8972e8a4ce15c09811 (patch) | |
tree | 977b8770424d5b5c6fbd4c832b6851630cfdb5ab | |
parent | 95bcd171a41800ea1e8ba2c4a2c6817e4daed9fc (diff) | |
download | dh-illumos-2e271a677ada28ba80281c8972e8a4ce15c09811.tar.gz |
dh_illumos_gate removes -Wl,-I/lib/ld.so.1v9.5.5
-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 + ); } |