aboutsummaryrefslogtreecommitdiff
path: root/lang/rust/files/patch-mk_platform.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/rust/files/patch-mk_platform.mk')
-rw-r--r--lang/rust/files/patch-mk_platform.mk23
1 files changed, 16 insertions, 7 deletions
diff --git a/lang/rust/files/patch-mk_platform.mk b/lang/rust/files/patch-mk_platform.mk
index 0955f6b8fed1..7d56a0b99fac 100644
--- a/lang/rust/files/patch-mk_platform.mk
+++ b/lang/rust/files/patch-mk_platform.mk
@@ -1,11 +1,20 @@
---- mk/platform.mk.orig 2012-01-22 08:59:58.097803422 +0800
-+++ mk/platform.mk 2012-01-22 04:45:22.124872578 +0800
-@@ -188,7 +188,7 @@
- CC=clang
- CXX=clang++
- CPP=cpp
+--- mk/platform.mk.orig 2012-04-05 22:34:59.678608449 +0800
++++ mk/platform.mk 2012-04-05 22:35:13.749110633 +0800
+@@ -213,7 +213,7 @@
+ ifeq ($(origin CPP),default)
+ CPP=cpp
+ endif
- CFG_GCCISH_CFLAGS += -Wall -Werror -fno-rtti -g
-+ CFG_GCCISH_CFLAGS += -Wall -Werror -Wno-c++11-compat -fno-rtti -g
++ CFG_GCCISH_CFLAGS += -Wall -fno-rtti -g
+ CFG_GCCISH_LINK_FLAGS += -g
+ CFG_DEPEND_C = $(CFG_GCCISH_CROSS)$(CXX) $(CFG_GCCISH_CFLAGS) -MT "$(1)" \
+ -MM $(2)
+@@ -244,7 +244,7 @@
+ ifeq ($(origin CPP),default)
+ CPP=cpp
+ endif
+- CFG_GCCISH_CFLAGS += -Wall -Werror -fno-rtti -g
++ CFG_GCCISH_CFLAGS += -Wall -fno-rtti -g
CFG_GCCISH_LINK_FLAGS += -g
CFG_DEPEND_C = $(CFG_GCCISH_CROSS)$(CXX) $(CFG_GCCISH_CFLAGS) -MT "$(1)" \
-MM $(2)