• src/build/Common.gmake

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Mon Mar 8 11:10:35 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/4c280dc6e91679cfeb9496a0
    Modified Files:
    src/build/Common.gmake
    Log Message:
    Add -std=c++11 for .cpp builds

    Hope to address error reported by rjwboys via IRC when using
    gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
    from ansiterm.cpp:22 /user/include/c++/5/bits/c++0x_warning.h:32:2
    error #error this file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Wed Mar 31 16:53:27 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/d457835c2f290c5d3ce6f6fd
    Modified Files:
    src/build/Common.gmake
    Log Message:
    os is lower-case.

    Fixes *nix builds of Win32 programs.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • 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