diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-07-01 15:51:16 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-07-01 15:51:16 +0000 |
commit | 21ed4e17ca8430c643dd4596fb5ac939913be8e1 (patch) | |
tree | e09b6d97ae7eabc4a2589fad574ede845c4a083c /debian | |
parent | 35e7dc9a4be4e36fa5e21c1d3e38830ec9e29b8f (diff) | |
download | dh-illumos-21ed4e17ca8430c643dd4596fb5ac939913be8e1.tar.gz |
Added linker wrapper package
Diffstat (limited to 'debian')
-rw-r--r-- | debian/control | 18 | ||||
-rw-r--r-- | debian/dh-illumos.install (renamed from debian/install) | 1 | ||||
-rw-r--r-- | debian/dh-illumos.manpages (renamed from debian/manpages) | 0 | ||||
-rw-r--r-- | debian/ld-gnu-to-sun.install | 1 | ||||
-rw-r--r-- | debian/ld-gnu-to-sun.manpages | 1 | ||||
-rwxr-xr-x | debian/rules | 1 |
6 files changed, 19 insertions, 3 deletions
diff --git a/debian/control b/debian/control index dff9a4a..1b4264d 100644 --- a/debian/control +++ b/debian/control @@ -9,8 +9,8 @@ Package: dh-illumos Architecture: all Multi-Arch: foreign Depends: ${perl:Depends}, ${misc:Depends}, debhelper (>=8), - ksh93, sunmake, illumos-source, illumos-binutils, binutils, gcc (>=4.7), - libc-dev-bin, flex, bison + ksh93, sunmake, illumos-source, ld-gnu-to-sun, + libc-dev-bin, flex, bison, Enhances: debhelper Description: debhelper addons to work with illumos sources This package provides debhelper addons configuring and building @@ -20,3 +20,17 @@ Description: debhelper addons to work with illumos sources dh_illumos_make - build illumos components. . This package also depends on packages required to build illumos sources. + +Package: ld-gnu-to-sun +Architecture: all +Depends: illumos-binutils, binutils, gcc (>=4.7), ${misc:Depends} +Enhances: binutils +Description: linker wrapper: execute sunld instead of gnu ld + System GCC compiled to use ld(1) from GNU binutils. + Those binutils are patched to support alternative linker + set by environment variable LD_ALTEXEC. + . + Unfortunately, GCC passes some options which only GNU ld(1) + supports, so you cannot use LD_ALTEXEC directly for sunld(1), + but you can use this wrapper to filter out and transform linker options. + diff --git a/debian/install b/debian/dh-illumos.install index 6786a23..0ca375e 100644 --- a/debian/install +++ b/debian/dh-illumos.install @@ -1,3 +1,2 @@ dh_illumos_gate usr/bin dh_illumos_make usr/bin -ld-gnu-to-sun usr/bin diff --git a/debian/manpages b/debian/dh-illumos.manpages index 9423ee7..9423ee7 100644 --- a/debian/manpages +++ b/debian/dh-illumos.manpages diff --git a/debian/ld-gnu-to-sun.install b/debian/ld-gnu-to-sun.install new file mode 100644 index 0000000..70133fa --- /dev/null +++ b/debian/ld-gnu-to-sun.install @@ -0,0 +1 @@ +ld-gnu-to-sun usr/bin diff --git a/debian/ld-gnu-to-sun.manpages b/debian/ld-gnu-to-sun.manpages new file mode 100644 index 0000000..6d6191d --- /dev/null +++ b/debian/ld-gnu-to-sun.manpages @@ -0,0 +1 @@ +ld-gnu-to-sun.1 diff --git a/debian/rules b/debian/rules index d8e88c7..02b7b1a 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,7 @@ pod2man := pod2man -r "dh-illumos v$(version)" -c dh-illumos override_dh_auto_build: $(pod2man) --section=1 dh_illumos_gate dh_illumos_gate.1 $(pod2man) --section=1 dh_illumos_make dh_illumos_make.1 + $(pod2man) --section=1 ld-gnu-to-sun.pod ld-gnu-to-sun.1 override_dh_clean: dh_clean dh_illumos_gate.1 dh_illumos_make.1 |