diff options
-rw-r--r-- | crosstool-config-overrides.patch | 5 | ||||
-rw-r--r-- | crosstool_NG_expat_ver.patch | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/crosstool-config-overrides.patch b/crosstool-config-overrides.patch index aed133978cab..07318d816eb9 100644 --- a/crosstool-config-overrides.patch +++ b/crosstool-config-overrides.patch @@ -1,10 +1,11 @@ ---- crosstool-config-overrides.old 2017-07-08 15:08:14.192759182 +0100 -+++ crosstool-config-overrides 2017-07-08 15:08:50.223178640 +0100 +--- a/crosstool-config-overrides ++++ b/crosstool-config-overrides @@ -1,5 +1,6 @@ # Building static toolchain causes problems on some distros which # by default don't install static libs for all required dependencies -#CT_STATIC_TOOLCHAIN=y +CT_STATIC_TOOLCHAIN=y CT_LIBC_NEWLIB_ENABLE_TARGET_OPTSPACE=y +- +CT_EXTRA_CFLAGS_FOR_BUILD="--std=c++11" +CT_EXTRA_CFLAGS_FOR_HOST="--std=c++11" diff --git a/crosstool_NG_expat_ver.patch b/crosstool_NG_expat_ver.patch index 0e3d9a1e1580..56ea506a4961 100644 --- a/crosstool_NG_expat_ver.patch +++ b/crosstool_NG_expat_ver.patch @@ -1,7 +1,6 @@ --- a/config/companion_libs/expat.in +++ b/config/companion_libs/expat.in -@@ -6,9 +6,9 @@ - choice +@@ -6,9 +6,9 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW @@ -13,8 +12,7 @@ endchoice -@@ -16,4 +16,4 @@ - config EXPAT_VERSION +@@ -16,4 +16,4 @@ config EXPAT_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW |