• src/build/Common.gmake

    From Rob Swindell (on macOS)@VERT to Git commit to main/sbbs/master on Fri Jan 24 18:23:02 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/abdeb48fa0ef12e4513a9db5
    Modified Files:
    src/build/Common.gmake
    Log Message:
    macOS Clang linker - don't warn about duplicate libraries

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on macOS)@VERT to Git commit to main/sbbs/master on Fri Jan 24 18:35:18 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/e13a3b619f2455f4ddc82e00
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Revert "macOS Clang linker - don't warn about duplicate libraries"

    This reverts commit abdeb48fa0ef12e4513a9db5d469878e8b79756d.

    Apparently the Clang on the x86 Mac mini build node doesn't support this option

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Feb 4 19:50:50 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/056e9d482d8b5cb9d5304a7d
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Default GNUmake to Vista/IE7 as well

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Tue Feb 4 20:58:51 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/bc44e1cb87ce70db40d49c5c
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Actually, bump Gmake builds to Windows 7.

    Vista ended support before XP did, and it doesn't seem to show up
    on any usage lists (while XP still has 0.27% of all Windows systems...
    which are 25.46% of systems on the internet)

    https://gs.statcounter.com/os-market-share

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Oct 2 09:46:29 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/906af1d39a0bfcf563a094dc
    Modified Files:
    src/build/Common.gmake
    Log Message:
    POSIX has deprecated egrep

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thu Oct 2 09:48:31 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/19659a906fbe0cc07ce34689
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Fix Haiku header dir

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Oct 11 09:39:19 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/406ff967a5cdd2cc44059789
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Stop undefing __STRICT_ANSI__

    Not sure why this is here, but mingw says it's not supported.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Sat Jan 3 15:07:19 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/b6a025d161c13f18f9382e51
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Supported versions of NetBSD support C17 now

    So let's use it.

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Mon Apr 20 22:42:24 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/2e9f5ef848e0d1ca21cea15c
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Default to use SDL audio on Haiku

    ---
    ï¿­ Synchronet ï¿­ Vertrauen ï¿­ Home of Synchronet ï¿­ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wed Jul 22 16:22:51 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e009a5e9ae6f0ab75b933adf
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Don't leak a parent make's CFLAGS into recursive sub-makes

    If CFLAGS is set in the calling environment, GNU make re-exports it to sub-makes with whatever value the makefile has since given it. So
    sbbs3's CFLAGS -- which legitimately carries -DLINK_LIST_THREADSAFE via XPDEV-MT_CFLAGS -- reached the "make -C ../xpdev lib" sub-make and
    compiled xpdev's *single-threaded* link_list.o with the thread-safe code
    paths enabled. That object then referenced sem_trywait_block() and pthread_mutex_initializer_np(), which are only ever built into
    libxpdev_mt.a, so every utility that links plain -lxpdev (sbbsecho,
    smbutil, chksmb, fixsmb, addfiles, node, ...) failed to link:

    ld: xpdev/.../libxpdev.a(link_list.o): in function `listSemTryWaitBlock':
    link_list.c: undefined reference to `sem_trywait_block'
    ld: xpdev/.../libxpdev.a(link_list.o): in function `listInit':
    link_list.c: undefined reference to `pthread_mutex_initializer_np'

    Every sub-project includes build/Common.gmake and derives its own flags
    from it, so inheriting the parent's was never intended -- the leaked
    command line also arrived with duplicated -O3/-O2 and a doubled -D_FORTIFY_SOURCE. Mark the flag variables unexport so a recursive make
    always starts from a clean slate.

    Reported against Debian trixie, but not specific to it: reproduced (and
    the fix verified) on bookworm/gcc-12 simply by putting CFLAGS in the environment.

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Sun Aug 2 20:14:25 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/5d8ba0be94dcb24bfbd7fea2
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Note why Win32 is excluded from PREFER_POLL

    The bare ifneq gives no hint that the exclusion is deliberate, and the
    Windows poll() path has never been compiled: WSAPoll() rejects an empty descriptor set and POLLPRI, both of which the PREFER_POLL code passes it.

    Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net