File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 224
224
"dir" : "src/main/c/yarp" ,
225
225
# "makeTarget": "all-no-debug", # Can use this to build without asserts
226
226
"results" : ["build/librubyparser.a" ],
227
+ "buildEnv" : {
228
+ # system clang on macOS Mojave warns+errors for `mystruct s = { 0 };` when there are struct fields.
229
+ # newer compiler do not warn for this.
230
+ "EXTRA_CFLAGS" : "-Wno-missing-braces" ,
231
+ },
227
232
"description" : "YARP used as a static library"
228
233
},
229
234
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ FUZZ_OUTPUT_DIR = $(shell pwd)/fuzz/output
11
11
SOEXT := $(shell ruby -e 'puts RbConfig::CONFIG["SOEXT"]')
12
12
13
13
CPPFLAGS := -Iinclude
14
- CFLAGS := -g -O2 -std=c99 -Wall -Werror -Wextra -Wpedantic -Wundef -Wconversion -fPIC -fvisibility=hidden
14
+ CFLAGS := -g -O2 -std=c99 -Wall -Werror -Wextra -Wpedantic -Wundef -Wconversion -fPIC -fvisibility=hidden $( EXTRA_CFLAGS )
15
15
CC := cc
16
16
WASI_SDK_PATH := /opt/wasi-sdk
17
17
You can’t perform that action at this time.
0 commit comments