• src/build/Common.gmake

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sun Mar 20 16:24:39 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/2951994bca38d54de846bcb2
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Linux needs strlcpy() defined in xpdev

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Jun 10 22:54:03 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/bfd364c8cf904c6e4f5cacf2
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Disable "unused-result" warning in release builds

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Apr 13 11:15:39 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/218a0ca5056240ef30757abd
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Allow overriding MIN_MAC_OSX_VERSION

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tue May 9 21:33:11 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/2e1649cb7f86b9479b4a6446
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Build .html files for Emscripten

    ---
    þ 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 Mon Jun 5 17:07:54 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/6be51c0f2293e8e35fbd3fc6
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Add FORTIFY and SANITIZE options for DEBUG builds

    SANITIZE is not fully supported (or recommended) yet.

    FORTIFY will include some performance hits, but those might be offset by -O1 (which is apparently required for _FORTIFY_SOURCE to have any effect). Prevviosly, DEBUG builds used (implicit -O0).
    I'm building and running sbbs on Vertrauen (git.synchro.net) now with FORTIFY.

    Set FORTIFY=1 in your localdefs.mk if you wish to have this build option enabled persistently.

    ---
    þ 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 Mon Jun 5 17:35:09 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/84dd1bc7ce3835d8c195f658
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Document the new FORTIFY and SANITIZE options

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sun Jun 18 14:07:47 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/36dddeff8466954b0b4c52e7
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Include -fno-omit-frame-pointer when usinag ASan and UBSan

    this is recommended to reliably display the call stack when using the print_stacktrace option.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sat Nov 9 21:02:32 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/0df88fbb8301ea8e34bf0b46
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Old sw_vers on macOS uses a single dash.

    New versions still support that.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on macOS)@VERT to Git commit to main/sbbs/master on Sun Dec 1 16:27:45 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/4dd8a371bcb00863d9a52228
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Add -L to LDFLAGS, not CFLAGS for macos builds

    This fixes all the "argument unused during compliation" warnings

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Dec 29 18:51:29 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/186e89b7796abf653e1ede1b
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Remove unneeded backslashes from CCPRE detection.

    GNU grep >= 3.8 complains and it's highly confusing.
    Thanks for sticking with it Dan_C.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Dec 29 19:13:45 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/0061b6c4ec60f462424f4e03
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Use `tail -n 1` intead of `grep -v '#'`

    Apple GNU make treats unescaped # in variables as starting a comment.
    But GNU grep >= v3.8 will spew a warning with an extra backslash there.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Jan 5 03:37:45 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/0f04d3ac37fa02fd663ac408
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Define a macro to indicate if the compiler is actually GCC.

    Pretty much all new compilers these days will define all the GCC
    macros so it's impossible to detect GCC from predefined macros
    without adding a list of all the compilers that pretend to be GCC
    if defined(__GNUC__) && !defined(__clang__) && !defined(____INTEL_COMPILER)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tue Jan 7 20:53:46 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/405f58b750c7d25358a42000
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Don't explicitly omit the frame pointer.

    At -O3, the only reason the frame pointer will be retained is when
    removing it makes it impossible to get any reasonable information
    out of a core dump.

    I personally prefer to take the small performance hit on affected
    platforms and always include the frame pointer because it makes
    profiling release builds possible... but I can manually make that
    adjustment when I want to.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Jan 9 11:33:29 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a4fbfd0bf823af136f6078b3
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Define NDEBUG for RELEASE builds

    We don't want our assertions asserting.

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