|
2 | 2 | # SPDX-License-Identifier: Apache-2.0 |
3 | 3 |
|
4 | 4 | build --features=parse_headers |
5 | | -build --features=layering_check |
| 5 | +#build --features=layering_check |
6 | 6 |
|
7 | 7 | # Don't try to build .so and .dylib shared libs (instead of static) libs on Linux/OSX |
8 | 8 | # For some reason, with clang-cl, it also tried to do on Windows, where dynamic linking just does not support it. |
@@ -45,12 +45,15 @@ build:linux --cxxopt=-fvisibility=hidden --copt=-fvisibility=hidden |
45 | 45 | #build:linux --fission=yes --copt=-g |
46 | 46 | build:linux --copt=-g --strip=never |
47 | 47 |
|
| 48 | +build:macos --copt=-Wno-missing-template-arg-list-after-template-kw |
| 49 | +build:macos --host_copt=-Wno-missing-template-arg-list-after-template-kw |
| 50 | + |
48 | 51 | build:macos --copt=-DCIVETWEB_API= --copt=-DCIVETWEB_CXX_API= --cxxopt=-DCIVETWEB_API= --cxxopt=-DCIVETWEB_CXX_API= |
49 | 52 | build:macos --cxxopt=-fvisibility=hidden --copt=-fvisibility=hidden |
50 | | -build:macos --fission=yes --copt=-g --action_env=CC=/opt/homebrew/bin/clang --host_action_env=CC=/opt/homebrew/bin/clang |
| 53 | +build:macos --strip=never --copt=-g --action_env=CC=/opt/homebrew/bin/clang --host_action_env=CC=/opt/homebrew/bin/clang |
51 | 54 | # https://github.com/Homebrew/homebrew-core/issues/178435#issuecomment-2250615995 |
52 | | -build:macos --linkopt=-L/opt/homebrew/opt/llvm/lib/c++ --linkopt=-L/opt/homebrew/opt/llvm/lib --linkopt=-lunwind |
53 | | -build:macos --host_linkopt=-L/opt/homebrew/opt/llvm/lib/c++ --host_linkopt=-L/opt/homebrew/opt/llvm/lib --host_linkopt=-lunwind |
| 55 | +build:macos --linkopt=-L/opt/homebrew/opt/llvm/lib/c++ --linkopt=-L/opt/homebrew/opt/llvm/lib/unwind --linkopt=-lunwind |
| 56 | +build:macos --host_linkopt=-L/opt/homebrew/opt/llvm/lib/c++ --host_linkopt=-L/opt/homebrew/opt/llvm/lib/unwind --host_linkopt=-lunwind |
54 | 57 |
|
55 | 58 | # --config=asan : Address Sanitizer. |
56 | 59 | common:asan --copt -DADDRESS_SANITIZER |
|
0 commit comments