aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2025-09-23 12:50:06 +0200
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2025-09-23 12:55:43 +0200
commit66747b641dbf66af0ed4ebaeb55e81997d4285ea (patch)
tree4ff25d3ebe3c5fe1e9a0e8f643f7f2980773b20d
parenta60821c3c663086020c80ba3e84d304edaab819f (diff)
downloadsciteco-66747b641dbf66af0ed4ebaeb55e81997d4285ea.tar.gz
freebsd14-msys-sciteco: disable LTO for the time being
Appears to result in new problems with win-clang++.
-rwxr-xr-x.fmsbw/10-freebsd14-msys-sciteco8
1 files changed, 5 insertions, 3 deletions
diff --git a/.fmsbw/10-freebsd14-msys-sciteco b/.fmsbw/10-freebsd14-msys-sciteco
index 9244225..f27dfa9 100755
--- a/.fmsbw/10-freebsd14-msys-sciteco
+++ b/.fmsbw/10-freebsd14-msys-sciteco
@@ -80,9 +80,11 @@ export CURSES_CFLAGS=-I/mingw64/include/pdcurses/
# LIBGLIB_LIBS: -lglib-2.0 -lintl -liconv -lpcre -lole32 -lws2_32 -luuid
# FIXME: Once there is an --enable-lto, we should use that.
#CFLAGS: -O3 -flto -DGLIB_STATIC_COMPILATION
-export CFLAGS="-O3 -flto"
-export CXXFLAGS="-O3 -flto"
-export LDFLAGS="-flto"
+#export CFLAGS="-O3 -flto"
+#export CXXFLAGS="-O3 -flto"
+#export LDFLAGS="-flto"
+export CFLAGS="-O3"
+export CXXFLAGS="-O3"
# We cannot run Windows binaries automatically through Wine,
# so we must still force cross-compilation with --host.