diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-30 21:45:32 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-06-30 22:00:10 +0200 |
commit | 4db00164ee4720068d6a7b222d918ef033c32069 (patch) | |
tree | b3fcc9a94a3778e6f8d7698626ced17fdca04da2 | |
parent | e2118217fc2eac5ca25bcfd076807026421e2e0c (diff) |
sh: fix static build
-rw-r--r-- | package/libgcc/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/package/libgcc/Makefile b/package/libgcc/Makefile index faa645b2e..7af6f361c 100644 --- a/package/libgcc/Makefile +++ b/package/libgcc/Makefile @@ -23,6 +23,7 @@ INSTALL_STYLE:= manual libgcc-install: $(INSTALL_DIR) ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH) +ifeq ($(ADK_TARGET_USE_STATIC_LIBS),) ifeq ($(ADK_TARGET_ARCH_SH),y) ifeq ($(ADK_TARGET_CPU_SH_SH3),y) ${CP} ${STAGING_TARGET_DIR}/usr/lib/!m3*/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH) @@ -30,14 +31,12 @@ endif ifeq ($(ADK_TARGET_CPU_SH_SH4),y) ${CP} ${STAGING_TARGET_DIR}/usr/lib/!m4*/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH) endif -else +endif ifeq ($(ADK_TARGET_ARCH_AVR32),) ifeq ($(ADK_TARGET_BINFMT_FLAT),) -ifeq ($(ADK_TARGET_USE_STATIC_LIBS),) ${CP} ${STAGING_TARGET_DIR}/usr/lib/libgcc*.so* ${IDIR_LIBGCC}/$(ADK_TARGET_LIBC_PATH) endif endif endif -endif include ${ADK_TOPDIR}/mk/pkg-bottom.mk |