diff options
author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch | |
download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz |
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch b/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch new file mode 100644 index 0000000000..fb52faa7a0 --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/remove_attribute_optimize_Os.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Dont support localised optimizations this helps to have a global -O level | ||
2 | |||
3 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Index: git/libpthread/nptl/pthread_mutex_timedlock.c | ||
7 | =================================================================== | ||
8 | --- git.orig/libpthread/nptl/pthread_mutex_timedlock.c 2014-08-25 10:58:06.000000000 -0700 | ||
9 | +++ git/libpthread/nptl/pthread_mutex_timedlock.c 2014-08-25 11:00:42.078242266 -0700 | ||
10 | @@ -28,7 +28,9 @@ | ||
11 | * error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ | ||
12 | */ | ||
13 | int | ||
14 | +#ifndef __OPTIMIZE__ | ||
15 | attribute_optimize("Os") | ||
16 | +#endif | ||
17 | pthread_mutex_timedlock ( | ||
18 | pthread_mutex_t *mutex, | ||
19 | const struct timespec *abstime) | ||