diff options
Diffstat (limited to '.fmsbw')
-rwxr-xr-x | .fmsbw/10-freebsd14-msys-sciteco | 5 | ||||
-rwxr-xr-x | .fmsbw/20-freebsd14-osx-sciteco | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/.fmsbw/10-freebsd14-msys-sciteco b/.fmsbw/10-freebsd14-msys-sciteco index 1c71b17..037ac66 100755 --- a/.fmsbw/10-freebsd14-msys-sciteco +++ b/.fmsbw/10-freebsd14-msys-sciteco @@ -80,11 +80,8 @@ export CURSES_CFLAGS=-I/mingw64/include/pdcurses/ # helper binaries are still linked dynamically, forcing us to ship # all DLLs anyway. Therefore it makes little sense to link SciTECO # itself statically - it only wastes a few MB. -# You will also have to add --enable-static-executables. -# The additional Windows libraries are for PDCursesMod/WinGUI: -#export LIBGLIB_LIBS="-lglib-2.0 -lintl -liconv -lpcre -lole32 -lws2_32 -luuid" +# You would also have to add --enable-static-executables. # FIXME: Once there is an --enable-lto, we should use that. -#export CFLAGS="-O3 -flto -DGLIB_STATIC_COMPILATION" # NOTE: LTO is broken with libstdc++. # https://github.com/HolyBlackCat/quasi-msys2/issues/44 export CFLAGS="-O3 -flto=thin" diff --git a/.fmsbw/20-freebsd14-osx-sciteco b/.fmsbw/20-freebsd14-osx-sciteco index a3eea1f..3279053 100755 --- a/.fmsbw/20-freebsd14-osx-sciteco +++ b/.fmsbw/20-freebsd14-osx-sciteco @@ -45,13 +45,10 @@ export LDFLAGS="-flto=thin" mkdir build-osx cd build-osx -# FIXME: Perhaps SciTECO's configure.ac should use PKG_CHECK_MODULES_STATIC() -# whenever --enable-static-executables is used. # NOTE: Make sure we pick up the SDK's ncurses instead of the one pulled in # via MacPorts. ../configure --host=x86_64-apple-darwin25 --disable-bootstrap --with-interface=ncurses \ --enable-static-executables --with-scitecodatadir=../share/sciteco \ - PKG_CONFIG="x86_64-apple-darwin25-pkg-config --static" \ CURSES_CFLAGS="-D_DARWIN_C_SOURCE -DNCURSES_WIDECHAR" CURSES_LIBS="-lncurses" gmake install-strip DESTDIR=`pwd`/temp-install # There are libraries we cannot link against statically. |