New commits:
commit 9207d859cd4d25a2908e809ec11f315ccbd698ba
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
devel/nodejs: disabled -Ofast in C*FLAGS
diff --git a/devel/nodejs/BUILD b/devel/nodejs/BUILD
index df1e18c..ac44baf 100755
--- a/devel/nodejs/BUILD
+++ b/devel/nodejs/BUILD
@@ -1,3 +1,7 @@
+# -Ofast breaks other projects (Firefox)
+CFLAGS="${CFLAGS//-Ofast/-O2}" &&
+CXXFLAGS="${CXXFLAGS//-Ofast/-O2}" &&
+
if is_depends_enabled ${SPELL} llvm; then
disable_stack_clash_protection &&
CC=clang CXX=clang++ CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" ./configure
--prefix=$INSTALL_ROOT/usr $OPTS
diff --git a/devel/nodejs/HISTORY b/devel/nodejs/HISTORY
index af65fb0..c8c5594 100644
--- a/devel/nodejs/HISTORY
+++ b/devel/nodejs/HISTORY
@@ -1,3 +1,7 @@
+2023-07-06 Pavel Vinogradov <public AT sourcemage.org>
+ * BUILD, INSTALL: disabled -Ofast in C*FLAGS, may cause issues in
other
+ projects like Firefox
+
2023-07-05 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 20.4.0
diff --git a/devel/nodejs/INSTALL b/devel/nodejs/INSTALL
index 8404fe2..99e7aed 100755
--- a/devel/nodejs/INSTALL
+++ b/devel/nodejs/INSTALL
@@ -1,3 +1,7 @@
+# -Ofast breaks other projects (Firefox)
+CFLAGS="${CFLAGS//-Ofast/-O2}" &&
+CXXFLAGS="${CXXFLAGS//-Ofast/-O2}" &&
+
if is_depends_enabled ${SPELL} llvm; then
disable_stack_clash_protection
fi &&
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (9207d859cd4d25a2908e809ec11f315ccbd698ba),
Pavel Vinogradov, 07/06/2023