• src/build/Common.gmake

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Sunday, March 20, 2022 16:24:39
    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 Friday, June 10, 2022 22:54:03
    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 Thursday, April 13, 2023 11:15:39
    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 Tuesday, May 09, 2023 21:33:11
    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 Monday, June 05, 2023 17:07:54
    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 Monday, June 05, 2023 17:35:09
    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 Sunday, June 18, 2023 14:07:47
    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 Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Thursday, October 26, 2023 13:13:54
    https://gitlab.synchro.net/main/sbbs/-/commit/5efa9c2f07d323ed0b48aa95
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Remove legacy comments (e.g. references to CVS)

    ---
    þ 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 Thursday, October 26, 2023 13:13:54
    https://gitlab.synchro.net/main/sbbs/-/commit/49c64c233857aa31828eccc9
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Disable GCC warning about string truncation

    Fix issue #667

    I'm not sure why these warnings just started popping up (maybe the inclusion
    of string in sbbs.h), but it only seems to happen in debug builds and the possible truncation is intentional.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 22:06:40
    https://gitlab.synchro.net/main/sbbs/-/commit/79dd24967cbd5eb765e2bfa0
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Disable unknown warning warning on !gcc

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, November 09, 2024 21:02:32
    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 Sunday, December 01, 2024 16:27:45
    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 Sunday, December 29, 2024 18:51:29
    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 Sunday, December 29, 2024 19:13:45
    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 Sunday, January 05, 2025 03:37:45
    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 Tuesday, January 07, 2025 20:53:46
    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 Thursday, January 09, 2025 11:33:29
    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 Friday, January 24, 2025 18:23:02
    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 Friday, January 24, 2025 18:35:18
    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 Tuesday, February 04, 2025 19:50:50
    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 Tuesday, February 04, 2025 20:58:51
    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