From 1b246cd380d8fa7a92006512a072a7c557d3557f Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 24 Apr 2019 15:04:43 +0200 Subject: [PATCH] Force no-ms-bitfields to ensure proper struc packing on Windows --- client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Makefile b/client/Makefile index 2f7467fab..5efd89696 100644 --- a/client/Makefile +++ b/client/Makefile @@ -50,7 +50,7 @@ CBORLIB = $(CBORLIBPATH)/tinycbor.a LIBS = -I../zlib -I../uart -I../liblua -I$(MBEDTLSLIBPATH) -I$(JANSSONLIBPATH) -I$(CBORLIBPATH) INCLUDES_CLIENT = -I. -I../include -I../common -I/opt/local/include $(LIBS) LDFLAGS = $(ENV_LDFLAGS) -CFLAGS = $(ENV_CFLAGS) -std=c99 -D_ISOC99_SOURCE -DPRESETS $(INCLUDES_CLIENT) -Wall -g -O3 +CFLAGS = $(ENV_CFLAGS) -std=c99 -D_ISOC99_SOURCE -DPRESETS $(INCLUDES_CLIENT) -Wall -g -O3 -mno-ms-bitfields CXXFLAGS = -I../include -Wall -O3 LUAPLATFORM = generic