• src/build/Common.gmake

    From Rob Swindell (on macOS)@1:103/705 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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on macOS)@1:103/705 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 --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Tue Feb 4 20:58:50 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
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Thu Oct 2 09:48:30 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/19659a906fbe0cc07ce34689
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Fix Haiku header dir
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Oct 11 09:39:18 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.
    --- SBBSecho 3.30-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sat Jan 3 15:07:18 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.
    --- SBBSecho 3.34-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 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
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Jul 22 16:22:50 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>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)