diff options
author | Ezequiel GarcĂa <ezequiel@vanguardiasur.com.ar> | 2015-02-17 13:26:53 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-02-19 22:04:26 +0100 |
commit | 31b5509af5ab73189efa0561a387ed71e40cd176 (patch) | |
tree | 1c37ec20f20f2d4b5cb6c9c1a1732b69ab487e60 /package/gcc | |
parent | 66ee6dc8721ce8746a8352f02f52663b90887c63 (diff) | |
download | buildroot-31b5509af5ab73189efa0561a387ed71e40cd176.tar.gz buildroot-31b5509af5ab73189efa0561a387ed71e40cd176.zip |
gcc: 4.9.2: Add patch to remove a wrong header
This commit adds a patch to gcc removing a unistd.h header include
in libgcc/config/nios2/linux-atomic.c
The file is built as part of GCC first stage (host-gcc-initial),
and so the header is not accesible. Given the header is not needed
it's fine to simply remove it.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc')
-rw-r--r-- | package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch b/package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch new file mode 100644 index 0000000000..df5372bb5a --- /dev/null +++ b/package/gcc/4.9.2/920-libgcc-remove-unistd-header.patch @@ -0,0 +1,12 @@ +Upstream status: In progress + +--- a/libgcc/config/nios2/linux-atomic.c ++++ b/libgcc/config/nios2/linux-atomic.c +@@ -20,7 +20,6 @@ + see the files COPYING3 and COPYING.RUNTIME respectively. If not, see + <http://www.gnu.org/licenses/>. */ + +-#include <asm/unistd.h> + #define EFAULT 14 + #define EBUSY 16 + #define ENOSYS 38 |