Browse Source

C++11 mode is enabled even for macOS

tags/2020-12-27
falkTX 4 years ago
parent
commit
aa0d4407dc
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      meson.build

+ 1
- 3
meson.build View File

@@ -108,6 +108,7 @@ build_flags = [


build_flags_cpp = [ build_flags_cpp = [
'-Wno-class-memaccess', '-Wno-class-memaccess',
'-std=gnu++11',
] ]


build_flags_debug = [ build_flags_debug = [
@@ -134,9 +135,6 @@ if optimizations and not linux_embed
endif endif


if not os_darwin if not os_darwin
build_flags_cpp += [
'-std=gnu++11',
]
build_flags_release += [ build_flags_release += [
'-fdata-sections', '-ffunction-sections', '-fdata-sections', '-ffunction-sections',
] ]


Loading…
Cancel
Save