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


##########
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:
   It doesn't seem to be. I'll run a test in jenkins for freebsd and see how it 
fares there (that was the only one that had -lpthread)
   



-- 
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