diff options
Diffstat (limited to 'debian/rules.d')
-rw-r--r-- | debian/rules.d/binary-gcc.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/debian/rules.d/binary-gcc.mk b/debian/rules.d/binary-gcc.mk index e81469a..82af086 100644 --- a/debian/rules.d/binary-gcc.mk +++ b/debian/rules.d/binary-gcc.mk @@ -5,7 +5,10 @@ ifeq ($(with_plugins),yes) arch_binaries := $(arch_binaries) gcc-plugindev endif -arch_binaries := $(arch_binaries) libcc1 gcc +arch_binaries := $(arch_binaries) gcc +ifneq (,$(findstring gcc-, $(PKGSOURCE))) + arch_binaries := $(arch_binaries) gcc +endif ifneq ($(DEB_CROSS),yes) ifneq ($(GFDL_INVARIANT_FREE),yes) @@ -114,10 +117,6 @@ endif DH_COMPAT=2 dh_movefiles -p$(p_gcc) $(files_gcc) - rm -f $(d)/$(usr_lib)/libcc1.so - dh_link -p$(p_gcc) \ - /$(usr_lib)/libcc1.so.$(CC1_SONAME) /$(gcc_lib_dir)/libcc1.so - ifneq ($(DEB_CROSS),yes) for i in gcc gcov gcov-tool gcc-ar gcc-nm gcc-ranlib; do \ ln -sf $$i$(pkg_ver) \ |