From 6ec15b58ee084a1ff8029bff178a0406d12e15dc Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Tue, 27 Oct 2020 14:52:52 +0100 Subject: [PATCH] linux-samsung-ms013g: fix compile with gcc10 (MR 1606) --- device/testing/linux-samsung-ms013g/APKBUILD | 2 ++ .../gcc10-extern_YYLOC_global_declaration.patch | 1 + 2 files changed, 3 insertions(+) create mode 120000 device/testing/linux-samsung-ms013g/gcc10-extern_YYLOC_global_declaration.patch diff --git a/device/testing/linux-samsung-ms013g/APKBUILD b/device/testing/linux-samsung-ms013g/APKBUILD index 01a9a9ac7..6ff62f8f3 100644 --- a/device/testing/linux-samsung-ms013g/APKBUILD +++ b/device/testing/linux-samsung-ms013g/APKBUILD @@ -21,6 +21,7 @@ source=" gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch kernel-use-the-gnu89-standard-explicitly.patch + gcc10-extern_YYLOC_global_declaration.patch timeconst_fix.patch elogind.patch 0007-usb_gadget-set-random-rndis-host-MAC-address-to-prev.patch @@ -55,6 +56,7 @@ sha512sums="3312bba75b65e8ef46ecdc043938130ef5c5ae8a58dbc03d8b6ec23160b120c738f0 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 7191d532df8f6a8bf64b5b5bcaa7343c8d1b844c891a67fc6d29f421903ddd46c3e779a6f5a5833a6a8f635d1582f5224fa795b3912b8b211a90ee561ad31469 timeconst_fix.patch 93f7870b2063d4ddb1f35dc4de4b213d83e0f54f59511b3050e880763f2374b3816ac0c879de76fe8a0b61d62c1753c5dda7326961164a8fcbfc8a9232309569 elogind.patch 27f890cf82027649ba742b606a87ce6a82f9685b075bb7b50bffec77221e70434ee78d118d39048350537c5ecdad208658967e492eeeb997e7f6884fa78ac696 0007-usb_gadget-set-random-rndis-host-MAC-address-to-prev.patch diff --git a/device/testing/linux-samsung-ms013g/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-ms013g/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-ms013g/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file