diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-10-22 22:15:59 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-10-22 22:15:59 +0200 |
commit | 1d18ffa427852084c6bf378eaa76c2e9116cdea7 (patch) | |
tree | b9aa383048f908be017cdc260cb60fa3df5699e0 /package/gcc | |
parent | f3d0f13c125a7e24dda986656d42b4a28e2f8e70 (diff) | |
parent | 4f14ea9a70f86fd29c59b617fa1449dd5b2f14ab (diff) |
some adk devel corrections
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts:
mk/package.mk
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile index 6c28e0f4c..cbd9ee0db 100644 --- a/package/gcc/Makefile +++ b/package/gcc/Makefile @@ -20,7 +20,7 @@ ifeq ($(ADK_LINUX_MIPS64_LEMOTE),y) CONFIGURE_ARGS+= --with-abi=64 endif CONFIGURE_ENV+= ac_cv_func_fputc_unlocked=no -CONFIGURE_ARGS+= --enable-languages=c \ +CONFIGURE_ARGS+= --enable-languages=c,c++ \ --libexecdir=/usr/lib \ --host=$(REAL_GNU_TARGET_NAME) \ --target=$(REAL_GNU_TARGET_NAME) \ @@ -29,18 +29,27 @@ CONFIGURE_ARGS+= --enable-languages=c \ --with-gnu-ld \ --disable-libssp \ --disable-nls \ + --disable-sjlj-exceptions \ + --disable-biarch \ --disable-libmudflap \ --disable-libgomp \ - --disable-multilib + --disable-multilib \ + --disable-libstdcxx-pch BUILD_STYLE:= auto -ALL_TARGET:= all-gcc all-target-libgcc +#ALL_TARGET:= all-gcc all-target-libgcc INSTALL_STYLE:= auto -INSTALL_TARGET:= install-gcc install-target-libgcc +#INSTALL_TARGET:= install-gcc install-target-libgcc post-install: ${INSTALL_DIR} ${IDIR_GCC}/usr/lib/gcc ${IDIR_GCC}/usr/bin + ${INSTALL_DIR} ${IDIR_GCC}/lib ${IDIR_GCC}/usr/include/c++ ${INSTALL_BIN} ${WRKINST}/usr/bin/gcc ${IDIR_GCC}/usr/bin/ + ${INSTALL_BIN} ${WRKINST}/usr/bin/g++ ${IDIR_GCC}/usr/bin/ + cd ${IDIR_GCC}/usr/bin/ && ln -sf g++ c++ ${INSTALL_BIN} ${WRKINST}/usr/bin/cpp ${IDIR_GCC}/usr/bin/ + ${CP} ${WRKINST}/usr/lib/libstdc++*so* ${IDIR_GCC}/usr/lib/ + ${CP} ${WRKINST}/usr/include/c++/* ${IDIR_GCC}/usr/include/c++/ + cd ${IDIR_GCC}/lib && ln -sf ../usr/bin/cpp . ${CP} ${WRKINST}/usr/lib/gcc/* ${IDIR_GCC}/usr/lib/gcc/ ifeq ($(ADK_TARGET_LIB_UCLIBC),y) ${CP} ${STAGING_DIR}/lib/crt* ${IDIR_GCC}/usr/lib |