summarylogtreecommitdiffstats
path: root/0001-hm-fix-build-with-gcc8.patch
diff options
context:
space:
mode:
authorDaniel Bermond2019-06-09 16:28:43 +0000
committerDaniel Bermond2019-06-09 16:28:43 +0000
commitdf2e34a9654e1f519cbf9fed3c49442069554741 (patch)
tree4088bb1e8f359befe21a81c477db215d6aae6c0b /0001-hm-fix-build-with-gcc8.patch
downloadaur-hm.tar.gz
Initial commit of hm
Diffstat (limited to '0001-hm-fix-build-with-gcc8.patch')
-rw-r--r--0001-hm-fix-build-with-gcc8.patch14
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