This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Since netbeans supports different C++ compilers I tried it with Emscripten (1.37) compiler. By default IDE generates build target for my lib like: ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/my-common-lib.a: ${OBJECTFILES} ${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM} ${RM} ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/my-common-lib.a ${AR} -r ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/my-common-lib.a ${OBJECTFILES} but Emscripten llvw-ar does not support option -r which is added by default. And after successful compilation I get an error: llvm-ar: Unknown command line argument '-r'. I have no possibility to remove this option, because file generates automatically. Need to remove this default option '-r' or make it configurable, but not default.