mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 19:37:55 +08:00
df1fcfb1a6
Co-authored-by: Cheney-Wang <850426846@qq.com>
14 lines
646 B
Diff
14 lines
646 B
Diff
diff --git a/config/Make.rules.Darwin b/config/Make.rules.Darwin
|
|
index e978836..2276b5d 100644
|
|
--- a/config/Make.rules.Darwin
|
|
+++ b/config/Make.rules.Darwin
|
|
@@ -35,7 +35,7 @@ endif
|
|
shared_cppflags = $(if $(filter-out program,$($1_target)),-fPIC) -fvisibility=hidden
|
|
|
|
cppflags = -Wall -Wextra -Wshadow -Wshadow-all -Wredundant-decls -Wno-shadow-field \
|
|
- -Wdeprecated -Wstrict-prototypes -Werror -Wconversion -Wdocumentation -pthread \
|
|
+ -Wdeprecated -Wstrict-prototypes -Wconversion -Wdocumentation -pthread \
|
|
$(if $(filter yes,$(OPTIMIZE)),-O2 -DNDEBUG,-g)
|
|
|
|
ifeq ($(MAXWARN),yes)
|