• src/build/Common.gmake

    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 Sunday, December 31, 2023 02:54:53
    https://gitlab.synchro.net/main/sbbs/-/commit/9c32887131996963bf219703
    Modified Files:
    src/build/Common.gmake
    Log Message:
    If we're using Clang as the compiler, use it as the assembler too.

    Should fix issue reported by Floffy on IRC.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, December 31, 2023 07:04:00
    https://gitlab.synchro.net/main/sbbs/-/commit/ee8414367187c12c7f428219
    Modified Files:
    src/build/Common.gmake
    Log Message:
    clang needs -c for .s files without main

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, January 26, 2024 11:16:17
    https://gitlab.synchro.net/main/sbbs/-/commit/873421e6e903a697c3833c0a
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Bump std= to c11 since we use _Atomic (a C11 addition) in threadwrap

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 10:11:46
    https://gitlab.synchro.net/main/sbbs/-/commit/eb4e039b3e86d4d258378efd
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Disable -fpic for Win32

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 10:47:17
    https://gitlab.synchro.net/main/sbbs/-/commit/a3b7bd388024f90605369cc4
    Modified Files:
    src/build/Common.gmake
    Log Message:
    win32, not Win32

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 13:23:27
    https://gitlab.synchro.net/main/sbbs/-/commit/1fe860f68366353c4e597149
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Add WALL option.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 20:37:32
    https://gitlab.synchro.net/main/sbbs/-/commit/f469f33ad1e92bb63a8a5abc
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Add -MP with -MMD

    This creates a .PHONY target for each file so that if a header is
    renamed, the impact will be the files that include it being rebuilt
    instead of the previous behaviour where the build would simply fail
    and complain that the file doesn't exist.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, February 07, 2024 23:56:15
    https://gitlab.synchro.net/main/sbbs/-/commit/db5b00b5fe7031dad2e7905f
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Allow FORTIFY=1 to work on RELEASE builds too.

    At some point, we should consider making it default.

    ---
    þ 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, February 08, 2024 00:45:01
    https://gitlab.synchro.net/main/sbbs/-/commit/67f387d560540bb1ab2385d7
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Use -Og for fortified debug builds (rather than -O1)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 08, 2024 01:24:22
    https://gitlab.synchro.net/main/sbbs/-/commit/25a1ae1a2cf63877293dbe82
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Possible fix warning in xpprintf() about using a pointer after free.

    If this *does* work, it means that potentially a huge chunk of our
    error checking hasn't actually worked in release builds or builds
    that use the FORTIFY option.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, February 20, 2024 15:11:23
    https://gitlab.synchro.net/main/sbbs/-/commit/31076f888d7c52b9568b7c91
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Fix mingw32 some more.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, February 24, 2024 11:42:08
    https://gitlab.synchro.net/main/sbbs/-/commit/a0db957ec310aba71bd0d785
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Latest SDL2 only supports macOS 10.7 and above.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, March 12, 2024 14:12:34
    https://gitlab.synchro.net/main/sbbs/-/commit/5548e05233971536447e47f8
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Enable LTO unless NO_LTO is defined...

    We may want to set NO_LTO for the pipeline...

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, March 12, 2024 14:34:13
    https://gitlab.synchro.net/main/sbbs/-/commit/8ea950825c3cf03c0eee03b5
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Disable LTO for now... it appears LTO is more strict with object ordering.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Sunday, March 17, 2024 00:13:16
    https://gitlab.synchro.net/main/sbbs/-/commit/2a51c73553d35b207f1062b4
    Modified Files:
    src/build/Common.gmake
    Log Message:
    We need macOS 10.9 for std::atomic

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