package/nodejs: requires gcc 4.9
authorBaruch Siach <baruch@tkos.co.il>
Fri, 15 Mar 2019 09:22:04 +0000 (11:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 15 Mar 2019 20:45:59 +0000 (21:45 +0100)
BUILDING.md lists gcc 4.9.4 or newer as build prerequisite. This is
needed for full C++11 support.

  https://github.com/nodejs/node/commit/d13a65ad68c429884434cdcd94c52b79a6d69717

Cc: Daniel Price <daniel.price@gmail.com>
Reported-by: Boris-Ben Shapiro <erectcrested@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/nodejs/Config.in

index d2846f8d579de893742496b981269db2a56e62a9..ed6225b08efb7f66c2f44f2b573981f5a77a07e9 100644 (file)
@@ -7,19 +7,19 @@ config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
        # libuv
        depends on BR2_TOOLCHAIN_HAS_SYNC_4
 
-comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 4.8, wchar"
+comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 4.9, wchar"
        depends on BR2_USE_MMU
        depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
        depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
-               !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR
+               !BR2_HOST_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR
 
 config BR2_PACKAGE_NODEJS
        bool "nodejs"
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS
-       depends on BR2_HOST_GCC_AT_LEAST_4_8
-       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+       depends on BR2_HOST_GCC_AT_LEAST_4_9
+       depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
        depends on BR2_USE_WCHAR
        # uses fork()
        depends on BR2_USE_MMU