Parcourir la source

Do not support localised optimizations this helps to have a global -O level

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Khem Raj il y a 10 ans
Parent
commit
8e43a1a143
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      libpthread/nptl/pthread_mutex_timedlock.c

+ 2 - 0
libpthread/nptl/pthread_mutex_timedlock.c

@@ -28,7 +28,9 @@
  * error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
  */
 int
+#ifndef  __OPTIMIZE__
 attribute_optimize("Os")
+#endif
 pthread_mutex_timedlock (
      pthread_mutex_t *mutex,
      const struct timespec *abstime)