nickva commented on code in PR #5566:
URL: https://github.com/apache/couchdb/pull/5566#discussion_r2145888750


##########
src/couch_quickjs/rebar.config.script:
##########
@@ -38,14 +43,9 @@ ResetFlags = [
     {"EXE_LDFLAGS", ""}
 ].
 
-LinuxDarwinEnv = [
-    {"CFLAGS", "$CFLAGS -flto -g -Wall -DCONFIG_LTO=y -O2 -Iquickjs"},
-    {"LDFLAGS", "$LDFLAGS -flto -lm quickjs/libquickjs.lto.a"}
-] ++ ResetFlags.
-
-FreeBSDEnv  = [
+UnixEnv = [
     {"CFLAGS", "$CFLAGS -g -Wall -O2 -Iquickjs"},
-    {"LDFLAGS", "$LDFLAGS -lm -lpthread quickjs/libquickjs.a"}
+    {"LDFLAGS", "$LDFLAGS quickjs/libquickjs.a -lm"}

Review Comment:
   brought back -lpthread saw an issue on centos



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to