diff options
Diffstat (limited to '0001-hm-fix-build-with-gcc8.patch')
-rw-r--r-- | 0001-hm-fix-build-with-gcc8.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/0001-hm-fix-build-with-gcc8.patch b/0001-hm-fix-build-with-gcc8.patch new file mode 100644 index 000000000000..81f005f9d0e5 --- /dev/null +++ b/0001-hm-fix-build-with-gcc8.patch @@ -0,0 +1,14 @@ +diff -Naurp a/build/linux/common/makefile.base b/build/linux/common/makefile.base +--- a/build/linux/common/makefile.base 2018-07-12 13:14:54.000000000 +0000 ++++ b/build/linux/common/makefile.base 2019-06-09 13:48:00.616470452 +0000 +@@ -47,8 +47,8 @@ endif + + # default cpp flags for all configurations + #CPPFLAGS = -Wall $(DEFS) -I$(CURDIR)/$(INC_DIR) $(USER_INC_DIRS) +-CPPFLAGS = $(DEFS) -I$(CURDIR)/$(INC_DIR) $(USER_INC_DIRS) -Wall -Wshadow -Wno-sign-compare -Werror -std=c++11 +-CFLAGS = $(DEFS) -I$(CURDIR)/$(INC_DIR) $(USER_INC_DIRS) -Wall -Wshadow -Wno-sign-compare -Werror ++CPPFLAGS = $(DEFS) -I$(CURDIR)/$(INC_DIR) $(USER_INC_DIRS) -Wall -Wshadow -Wno-sign-compare -std=c++11 ++CFLAGS = $(DEFS) -I$(CURDIR)/$(INC_DIR) $(USER_INC_DIRS) -Wall -Wshadow -Wno-sign-compare + + ########## + # enforce 32-bit build : 1=yes, 0=no |