Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit 92e6246

Browse files
authored
Merge pull request #13 from GoogleCloudPlatform/mk_cpp
Modify Makefiles to compile C++ sources with GCC
2 parents a302c67 + 87526f0 commit 92e6246

12 files changed

+62
-37
lines changed

Makefile

+19-11
Original file line numberDiff line numberDiff line change
@@ -174,22 +174,30 @@ $(IOTC_GTEST_OBJDIR)/%.o : $(LIBIOTC_SRC)/%.cc $(IOTC_BUILD_PRECONDITIONS)
174174
$(IOTC_OBJDIR)/tests/tools/iotc_libiotc_driver/%.o : $(LIBIOTC)/src/tests/tools/iotc_libiotc_driver/%.c $(IOTC_BUILD_PRECONDITIONS)
175175
@-mkdir -p $(dir $@)
176176
$(info [$(CC)] $@)
177-
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) $(IOTC_TEST_TOOLS_INCLUDE_FLAGS) -c $< $(IOTC_COMPILER_OUTPUT)
178-
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) $(IOTC_TEST_TOOLS_INCLUDE_FLAGS) -MM $< -MT $@ -MF $(@:.o=.d)
177+
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS) $(IOTC_TEST_TOOLS_INCLUDE_FLAGS) -c $< $(IOTC_COMPILER_OUTPUT)
178+
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS) $(IOTC_TEST_TOOLS_INCLUDE_FLAGS) -MM $< -MT $@ -MF $(@:.o=.d)
179179

180180
-include $(IOTC_OBJS:.o=.d)
181181

182+
# C source files
182183
$(IOTC_OBJDIR)/%.o : $(LIBIOTC)/src/%.c $(IOTC_BUILD_PRECONDITIONS)
183184
@-mkdir -p $(dir $@)
184185
$(info [$(CC)] $@)
185-
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) -c $< $(IOTC_COMPILER_OUTPUT)
186-
$(IOTC_POST_COMPILE_ACTION)
186+
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS) -c $< $(IOTC_COMPILER_OUTPUT)
187+
$(IOTC_POST_COMPILE_ACTION_CC)
187188

188189
$(IOTC_OBJDIR)/third_party/%.o : $(LIBIOTC)/third_party/%.c $(IOTC_BUILD_PRECONDITIONS)
189190
@-mkdir -p $(dir $@)
190191
$(info [$(CC)] $@)
191-
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) -c $< $(IOTC_COMPILER_OUTPUT)
192-
$(IOTC_POST_COMPILE_ACTION)
192+
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS) -c $< $(IOTC_COMPILER_OUTPUT)
193+
$(IOTC_POST_COMPILE_ACTION_CC)
194+
195+
# C++ source files
196+
$(IOTC_OBJDIR)/%.o : $(LIBIOTC)/src/%.cc $(IOTC_BUILD_PRECONDITIONS)
197+
@-mkdir -p $(dir $@)
198+
$(info [$(CXX)] $@)
199+
$(MD) $(CXX) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_CXX_FLAGS) $(IOTC_INCLUDE_FLAGS) -c $< $(IOTC_COMPILER_OUTPUT)
200+
$(IOTC_POST_COMPILE_ACTION_CXX)
193201

194202
# gather all of the binary directories
195203
IOTC_RESOURCE_FILES := $(LIBIOTC)/res/trusted_RootCA_certs/roots.pem
@@ -206,8 +214,8 @@ endif
206214
$(IOTC_EXAMPLE_BINDIR)/internal/%: $(XI)
207215
$(info [$(CC)] $@)
208216
@-mkdir -p $(IOTC_EXAMPLE_OBJDIR)/$(subst $(IOTC_EXAMPLE_BINDIR)/,,$(dir $@))
209-
$(MD) $(CC) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) -L$(IOTC_BINDIR) $(XI) $(LIBIOTC)/examples/common/src/commandline.c $(IOTC_EXAMPLE_DIR)/$(subst $(IOTC_EXAMPLE_BINDIR),,$@).c $(IOTC_LIB_FLAGS) $(IOTC_COMPILER_OUTPUT)
210-
$(MD) $(CC) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) -MM $(IOTC_EXAMPLE_DIR)/$(subst $(IOTC_EXAMPLE_BINDIR),,$@).c -MT $@ -MF $(IOTC_EXAMPLE_OBJDIR)/$(subst $(IOTC_EXAMPLE_BINDIR)/,,$@).d
217+
$(MD) $(CC) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS)$(IOTC_INCLUDE_FLAGS) -L$(IOTC_BINDIR) $(XI) $(LIBIOTC)/examples/common/src/commandline.c $(IOTC_EXAMPLE_DIR)/$(subst $(IOTC_EXAMPLE_BINDIR),,$@).c $(IOTC_LIB_FLAGS) $(IOTC_COMPILER_OUTPUT)
218+
$(MD) $(CC) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS) -MM $(IOTC_EXAMPLE_DIR)/$(subst $(IOTC_EXAMPLE_BINDIR),,$@).c -MT $@ -MF $(IOTC_EXAMPLE_OBJDIR)/$(subst $(IOTC_EXAMPLE_BINDIR)/,,$@).d
211219

212220
###
213221
#### TEST TOOLS
@@ -216,9 +224,9 @@ $(IOTC_EXAMPLE_BINDIR)/internal/%: $(XI)
216224

217225
$(IOTC_TEST_TOOLS_BINDIR)/%: $(XI) $(IOTC_TEST_TOOLS_OBJS)
218226
$(info [$(CC)] $@)
219-
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) -L$(IOTC_BINDIR) $(IOTC_TEST_TOOLS_OBJS) $(IOTC_TEST_TOOLS_SRCDIR)/$(notdir $@)/$(notdir $@).c $(IOTC_LIB_FLAGS) $(IOTC_COMPILER_OUTPUT)
227+
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS) -L$(IOTC_BINDIR) $(IOTC_TEST_TOOLS_OBJS) $(IOTC_TEST_TOOLS_SRCDIR)/$(notdir $@)/$(notdir $@).c $(IOTC_LIB_FLAGS) $(IOTC_COMPILER_OUTPUT)
220228
@-mkdir -p $(IOTC_TEST_TOOLS_OBJDIR)
221-
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) -MM $(IOTC_TEST_TOOLS_SRCDIR)/$(notdir $@)/$(notdir $@).c -MT $@ -MF $(IOTC_TEST_TOOLS_OBJDIR)/$(notdir $@).d
229+
$(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS) -MM $(IOTC_TEST_TOOLS_SRCDIR)/$(notdir $@)/$(notdir $@).c -MT $@ -MF $(IOTC_TEST_TOOLS_OBJDIR)/$(notdir $@).d
222230
@#$@
223231

224232
###
@@ -270,7 +278,7 @@ NOW:=$(shell date +"%F-%T")
270278

271279
$(LIBIOTC)/src/%.sa:
272280
$(info [clang-tidy] $(@:.sa=.c))
273-
@clang-tidy --checks='clang-analyzer-*,-clang-analyzer-cplusplus*,-clang-analyzer-osx*' $(@:.sa=.c) >> static_analysis_$(NOW).log -- $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS)
281+
@clang-tidy --checks='clang-analyzer-*,-clang-analyzer-cplusplus*,-clang-analyzer-osx*' $(@:.sa=.c) >> static_analysis_$(NOW).log -- $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS)
274282

275283
$(IOTC_BIN_DIRS):
276284
@mkdir -p $@

doc/porting_guide.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,12 @@ The next section explains how to create these commands.
301301
CC = ~/downloads/np4000_sdk/np4000_tools/bin/armcl
302302
AR = ~/downloads/np4000_sdk/tools/bin/armar
303303

304-
- Add compiler flags by appending them to variable IOTC_COMPILER_FLAGS. For example:
304+
- Add compiler flags by appending them to variable IOTC_COMMON_COMPILER_FLAGS. For example:
305305

306-
IOTC_COMPILER_FLAGS += -I~/downloads/np4000_sdk/include
307-
IOTC_COMPILER_FLAGS += -Dnp4000
306+
IOTC_COMMON_COMPILER_FLAGS += -I~/downloads/np4000_sdk/include
307+
IOTC_COMMON_COMPILER_FLAGS += -Dnp4000
308+
309+
- Flags specific to the C and C++ compiler should be set in IOTC_C_FLAGS and IOTC_CXX_FLAGS respectively.
308310

309311
- Add archiver flags by appending them to the variable IOTC_ARFLAG:
310312

make/mt-config/mt-config.mk

+13-4
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,19 @@ ifneq (,$(findstring fuzz_test,$(CONFIG)))
6464
IOTC_CONFIG_FLAGS += -fsanitize=address -fomit-frame-pointer -fsanitize-coverage=trace-pc-guard -g
6565
endif
6666

67-
IOTC_COMPILER_FLAGS += -Wall -Werror
67+
IOTC_COMMON_COMPILER_FLAGS += -Wall -Werror
68+
IOTC_C_FLAGS +=
69+
IOTC_CXX_FLAGS += -Wextra -std=c++11
6870

6971
# TEMPORARILY disable warnings until the code gets changed
7072
# For all compilers:
71-
IOTC_COMPILER_FLAGS += -Wno-pointer-arith
73+
IOTC_COMMON_COMPILER_FLAGS += -Wno-pointer-arith
7274
ifeq "$(CC)" "clang"
7375
# For CLANG
74-
IOTC_COMPILER_FLAGS += -Wno-gnu-zero-variadic-macro-arguments
76+
IOTC_COMMON_COMPILER_FLAGS += -Wno-gnu-zero-variadic-macro-arguments
7577
else
7678
# For no CLANG compilers
77-
IOTC_COMPILER_FLAGS += -Wno-format
79+
IOTC_COMMON_COMPILER_FLAGS += -Wno-format
7880
endif
7981

8082
IOTC_CONFIG_FLAGS += -DIOTC_DEBUG_OUTPUT=$(IOTC_DEBUG_OUTPUT)
@@ -221,6 +223,13 @@ IOTC_SOURCES += $(wildcard ./src/*.c)
221223
IOTC_SOURCES += $(foreach layerdir,$(IOTC_SRCDIRS),\
222224
$(wildcard $(layerdir)/*.c))
223225

226+
# C++ source files
227+
IOTC_SOURCES_CXX := $(wildcard ./src/*.cc)
228+
IOTC_SOURCES_CXX += $(foreach layerdir,$(IOTC_SRCDIRS),\
229+
$(wildcard $(layerdir)/*.cc))
230+
IOTC_SOURCES_CXX := $(filter-out %_test.cc, $(IOTC_SOURCES_CXX)) # Filter out tests
231+
232+
224233
ifeq ($(IOTC_DEBUG_OUTPUT),0)
225234
IOTC_SOURCES := $(filter-out $(LIBIOTC_SOURCE_DIR)/iotc_debug.c, $(IOTC_SOURCES) )
226235
IOTC_SOURCES := $(filter-out $(LIBIOTC)/third_party/mqtt-protocol-c/iotc_debug_data_desc_dump.c, $(IOTC_SOURCES) )

make/mt-config/tests/mt-gtest.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,5 @@ IOTC_GTEST_CXX_FLAGS += -I$(LIBIOTC)/src/tests
7272
IOTC_GTEST_CXX_FLAGS += $(foreach platformdep,$(IOTC_PLATFORM_MODULES) \
7373
,-I$(IOTC_GTEST_SOURCE_DIR)/platform/$(IOTC_PLATFORM_BASE)/$(platformdep))
7474

75-
IOTC_GTEST_CONFIG_FLAGS = $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS)
75+
IOTC_GTEST_CONFIG_FLAGS = $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS)
7676
IOTC_GTEST_CONFIG_FLAGS += -DNO_FORKING

make/mt-config/tests/mt-tests-integration.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
include make/mt-config/tests/mt-tests.mk
1717

1818
IOTC_ITESTS_OBJDIR := $(IOTC_TEST_OBJDIR)/itests
19-
IOTC_ITESTS_CFLAGS = $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS)
19+
IOTC_ITESTS_CFLAGS = $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS)
2020

2121
# CMOCKA LIBRARY SECTION
2222
CMOCKA_DIR := $(LIBIOTC)/third_party/cmocka

make/mt-config/tests/mt-tests-unit.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ IOTC_UTEST_INCLUDE_FLAGS += -I$(IOTC_TEST_DIR)/tools
7171
IOTC_UTEST_INCLUDE_FLAGS += $(foreach platformdep,$(IOTC_PLATFORM_MODULES) \
7272
,-I$(IOTC_UTEST_SOURCE_DIR)/platform/$(IOTC_PLATFORM_BASE)/$(platformdep))
7373

74-
IOTC_UTEST_CONFIG_FLAGS = $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS)
74+
IOTC_UTEST_CONFIG_FLAGS = $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS)
7575
IOTC_UTEST_CONFIG_FLAGS += -DNO_FORKING
7676

7777
$(TINY_TEST_OBJ): $(TINYTEST_SRCDIR)/tinytest.c $(IOTC_BUILD_PRECONDITIONS)

make/mt-os/mt-arm-linux.mk

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
include make/mt-os/mt-os-common.mk
1717

18-
IOTC_COMPILER_FLAGS += -fPIC
19-
IOTC_COMPILER_FLAGS += -mcpu=cortex-m3 -mthumb
18+
IOTC_COMMON_COMPILER_FLAGS += -fPIC
19+
IOTC_COMMON_COMPILER_FLAGS += -mcpu=cortex-m3 -mthumb
2020
# Temporarily disable these warnings until the code gets changed.
21-
IOTC_COMPILER_FLAGS += -Wno-format
22-
IOTC_COMPILER_FLAGS += -specs=rdimon.specs
21+
IOTC_COMMON_COMPILER_FLAGS += -Wno-format
22+
IOTC_COMMON_COMPILER_FLAGS += -specs=rdimon.specs
2323
IOTC_LIBS_FLAGS += lrdimon
2424

2525
IOTC_ARFLAGS += -rs -c $(XI)

make/mt-os/mt-freertos-linux.mk

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
CC ?= gcc
1717
AR ?= ar
1818

19-
IOTC_COMPILER_FLAGS += -fPIC
19+
IOTC_COMMON_COMPILER_FLAGS += -fPIC
2020
IOTC_LIB_FLAGS += $(IOTC_TLS_LIBFLAGS) -lcrypto -lpthread
2121

2222
IOTC_FREERTOS_DIR_PATH = $(LIBIOTC)/third_party/FreeRTOSv10.1.1/FreeRTOS
@@ -39,7 +39,7 @@ IOTC_INCLUDE_FLAGS += -I$(LIBIOTC)/examples/freertos_linux/Linux_gcc_gcp_iot
3939
IOTC_ARFLAGS += -rs -c $(XI)
4040

4141
# Temporarily disable these warnings until the code gets changed.
42-
IOTC_COMPILER_FLAGS += -Wno-format
42+
IOTC_COMMON_COMPILER_FLAGS += -Wno-format
4343

4444
#################################################################
4545
# Download FreeRTOS kernel and FreeRTOS Plus Linux Simulator ####

make/mt-os/mt-linux.mk

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
# limitations under the License.
1515

1616
CC ?= gcc
17+
CXX ?= g++
1718
AR ?= ar
1819

19-
IOTC_COMPILER_FLAGS += -fPIC
20+
IOTC_COMMON_COMPILER_FLAGS += -fPIC
2021
IOTC_LIB_FLAGS += $(IOTC_TLS_LIBFLAGS) -lpthread -lm -lcrypto
2122

2223
include make/mt-os/mt-os-common.mk
@@ -30,7 +31,7 @@ else
3031
endif
3132

3233
# Temporarily disable these warnings until the code gets changed.
33-
IOTC_COMPILER_FLAGS += -Wno-format
34+
IOTC_COMMON_COMPILER_FLAGS += -Wno-format
3435

3536
IOTC_CONFIG_FLAGS += -DIOTC_MULTI_LEVEL_DIRECTORY_STRUCTURE
3637
IOTC_CONFIG_FLAGS += -DIOTC_LIBCRYPTO_AVAILABLE

make/mt-os/mt-os-common.mk

+10-5
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,33 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
IOTC_COMPILER_FLAGS += -fstrict-aliasing
16+
IOTC_COMMON_COMPILER_FLAGS += -fstrict-aliasing
1717

1818
XI ?= $(IOTC_BINDIR)/libiotc.a
1919

2020
ifneq (,$(findstring release,$(TARGET)))
21-
IOTC_COMPILER_FLAGS += -Os
21+
IOTC_COMMON_COMPILER_FLAGS += -Os
2222
endif
2323

2424
ifneq (,$(findstring debug,$(TARGET)))
25-
IOTC_COMPILER_FLAGS += -O0 -g
25+
IOTC_COMMON_COMPILER_FLAGS += -O0 -g
2626
endif
2727

2828
# warning level
29-
IOTC_COMPILER_FLAGS += -Wall -Wextra
29+
IOTC_COMMON_COMPILER_FLAGS += -Wall -Wextra
3030

31+
# Object files from C and C++ sources
3132
IOTC_OBJS := $(filter-out $(IOTC_SOURCES), $(IOTC_SOURCES:.c=.o))
33+
IOTC_OBJS += $(filter-out $(IOTC_SOURCES_CXX), $(IOTC_SOURCES_CXX:.cc=.o))
34+
3235
IOTC_OBJS := $(subst $(LIBIOTC)/src,$(IOTC_OBJDIR),$(IOTC_OBJS))
3336
IOTC_OBJS := $(subst $(IOTC_BSP_DIR),$(IOTC_OBJDIR)/bsp/,$(IOTC_OBJS))
3437
IOTC_OBJS := $(subst $(LIBIOTC)/third_party,$(IOTC_OBJDIR)/third_party,$(IOTC_OBJS))
38+
IOTC_OBJS := $(sort $(IOTC_OBJS)) # sort for determinism and ease of debug
3539

3640
# UNIT TESTS
3741
IOTC_TEST_OBJS := $(filter-out $(IOTC_UTEST_SOURCES), $(IOTC_UTEST_SOURCES:.c=.o))
3842
IOTC_TEST_OBJS := $(subst $(IOTC_UTEST_SOURCE_DIR),$(IOTC_TEST_OBJDIR),$(IOTC_TEST_OBJS))
3943

40-
IOTC_POST_COMPILE_ACTION = @$(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMPILER_FLAGS) $(IOTC_INCLUDE_FLAGS) -MM $< -MT $@ -MF $(@:.o=.d)
44+
IOTC_POST_COMPILE_ACTION_CC = $(MD) $(CC) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_C_FLAGS) $(IOTC_INCLUDE_FLAGS) -MM $< -MT $@ -MF $(@:.o=.d)
45+
IOTC_POST_COMPILE_ACTION_CXX = $(MD) $(CXX) $(IOTC_CONFIG_FLAGS) $(IOTC_COMMON_COMPILER_FLAGS) $(IOTC_CXX_FLAGS) $(IOTC_INCLUDE_FLAGS) -MM $< -MT $@ -MF $(@:.o=.d)

make/mt-os/mt-osx.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ifdef IOTC_SHARED
2525
XI = $(IOTC_BINDIR)/libiotc.dylib
2626
IOTC_ARFLAGS := -shared -o $(XI) $(IOTC_TLS_LIBFLAGS)
2727
AR = gcc
28-
IOTC_COMPILER_FLAGS += -fPIC
28+
IOTC_COMMON_COMPILER_FLAGS += -fPIC
2929
IOTC_CONFIG_FLAGS += -DIOTC_SHARED
3030
else
3131
IOTC_ARFLAGS += -rs -c $(XI)

tools/test_coverage.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ mkdir test_coverage
5151

5252
echo
5353
echo building and running unit tests...
54-
make IOTC_COMPILER_FLAGS="-fprofile-arcs -ftest-coverage" utests -j
54+
make IOTC_COMMON_COMPILER_FLAGS="-fprofile-arcs -ftest-coverage" utests -j
5555

5656
echo
5757
echo generating unit tests report...
@@ -72,7 +72,7 @@ make clean
7272

7373
echo
7474
echo building and running integration testsxi
75-
make IOTC_COMPILER_FLAGS="-fprofile-arcs -ftest-coverage" itests -j
75+
make IOTC_COMMON_COMPILER_FLAGS="-fprofile-arcs -ftest-coverage" itests -j
7676

7777
echo
7878
echo generating integration test report...

0 commit comments

Comments
 (0)