diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-24 07:19:24 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-24 07:19:24 +0200 |
commit | 8c11f332d15766b50cb154a4a002ac44e38da4a3 (patch) | |
tree | a17a629fcf7a74f07aafcf09a0eb5fcd9d9a1aec /package/gcc/Makefile | |
parent | 4eb5fc17cd72fa6ffb24325bcb34bf6d991df55f (diff) |
fix g++ subpackage
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r-- | package/gcc/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile index 97a317578..26b04522d 100644 --- a/package/gcc/Makefile +++ b/package/gcc/Makefile @@ -31,7 +31,7 @@ ifeq ($(ADK_TARGET_SYSTEM_LEMOTE_YEELONG),y) CONFIGURE_ARGS+= --with-abi=$(ADK_TARGET_ABI) endif -ifeq ($(ADK_PACKAGE_GXX),y) +ifneq ($(ADK_PACKAGE_GXX),) CONFIGURE_ARGS+= --enable-languages=c,c++ else CONFIGURE_ARGS+= --enable-languages=c @@ -69,10 +69,10 @@ gcc-install: rm -rf ${IDIR_GCC}/usr/lib/gcc/*/*/install-tools g++-install: - ${INSTALL_DIR} ${IDIR_GCC}/usr/bin - ${INSTALL_DIR} ${IDIR_GCC}/usr/include/c++ - ${INSTALL_BIN} ${WRKINST}/usr/bin/g++ ${IDIR_GCC}/usr/bin/ - cd ${IDIR_GCC}/usr/bin/ && ln -sf g++ c++ - ${CP} ${WRKINST}/usr/include/c++/* ${IDIR_GCC}/usr/include/c++/ + ${INSTALL_DIR} ${IDIR_GXX}/usr/bin + ${INSTALL_DIR} ${IDIR_GXX}/usr/include/c++ + ${INSTALL_BIN} ${WRKINST}/usr/bin/g++ ${IDIR_GXX}/usr/bin/ + cd ${IDIR_GXX}/usr/bin/ && ln -sf g++ c++ + ${CP} ${WRKINST}/usr/include/c++/* ${IDIR_GXX}/usr/include/c++/ include ${TOPDIR}/mk/pkg-bottom.mk |