Toolchain upgrade and portability improvements.
upgrade to NetBSD CVS release from 2012/10/17 12:00:00 UTC Makefiles updates to imporve portability Made sure to be consistent in the usage of braces/parenthesis at least on a per file basis. For variables, it is recommended to continue to use braces.
This commit is contained in:
+9
-11
@@ -1,10 +1,10 @@
|
||||
# $NetBSD: Makefile,v 1.50 2012/01/10 12:27:54 skrll Exp $
|
||||
# $NetBSD: Makefile,v 1.52 2012/09/18 07:05:15 skrll Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
HAVE_GCC= 45 # On Minix
|
||||
|
||||
.ifdef __MINIX
|
||||
HAVE_GCC= 45
|
||||
|
||||
GCC_LANGUAGES=c
|
||||
.else
|
||||
GCC_LANGUAGES=c c++ objc
|
||||
@@ -12,7 +12,6 @@ GCC_LANGUAGES=c c++ objc
|
||||
MODULE= gcc4
|
||||
|
||||
MKNATIVE_CONFIG_TARGET_LIBS= \
|
||||
configure-target-libiberty \
|
||||
configure-target-libstdc++-v3 \
|
||||
configure-target-libobjc
|
||||
|
||||
@@ -41,17 +40,16 @@ SOFTFLOAT_ARGS= -with-float=soft
|
||||
|
||||
# LSC FIXME We are not using the correct target ATM, so overrides for now...
|
||||
COMMON_CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} \
|
||||
--target=${MACHINE_ARCH}-elf-minix \
|
||||
--disable-libssp \
|
||||
--enable-long-long \
|
||||
--enable-threads \
|
||||
--with-bugurl=http://www.NetBSD.org/Misc/send-pr.html \
|
||||
--with-pkgversion="NetBSD nb2 20111202" \
|
||||
--with-system-zlib \
|
||||
${VAX_CONFIGURE_ARGS} \
|
||||
--disable-threads \
|
||||
--disable-visibility \
|
||||
--disable-libunwind \
|
||||
--enable-long-long \
|
||||
--enable-threads \
|
||||
--with-bugurl=http://www.NetBSD.org/Misc/send-pr.html \
|
||||
--with-pkgversion="NetBSD nb1 20120916" \
|
||||
--with-system-zlib \
|
||||
${VAX_CONFIGURE_ARGS} \
|
||||
--enable-__cxa_atexit
|
||||
.if defined(GCC_CONFIG_ARCH.${MACHINE_ARCH})
|
||||
COMMON_CONFIGURE_ARGS+= --with-arch=${GCC_CONFIG_ARCH.${MACHINE_ARCH}}
|
||||
|
||||
Reference in New Issue
Block a user