Browse Source

FreeBSD has a different GCC binary name

default_compile_flags
vector-of-bool 4 years ago
parent
commit
96b21936be
2 changed files with 11 additions and 0 deletions
  1. +2
    -0
      tools/build.py
  2. +9
    -0
      tools/freebsd-gcc-9.dds

+ 2
- 0
tools/build.py View File

print(f'Using previously built DDS executable: {dds_exe}') print(f'Using previously built DDS executable: {dds_exe}')
if os.name == 'nt': if os.name == 'nt':
tc_fpath = ROOT / 'tools/msvc.dds' tc_fpath = ROOT / 'tools/msvc.dds'
elif sys.platform.startswith('freebsd'):
tc_fpath = ROOT / 'tools/freebsd-gcc-9.dds'
else: else:
tc_fpath = ROOT / 'tools/gcc-9.dds' tc_fpath = ROOT / 'tools/gcc-9.dds'



+ 9
- 0
tools/freebsd-gcc-9.dds View File

Compiler-ID: GNU
C++-Version: C++17
C-Compiler: gcc9
C++-Compiler: g++9
# Range-v3 0.10.0 contains an accidental conversion warning
Flags: -D SPDLOG_COMPILED_LIB -fconcepts -Werror=return-type -Wno-conversion
Link-Flags: -static-libgcc -static-libstdc++
Debug: True
Compiler-Launcher: ccache

Loading…
Cancel
Save