Quellcode durchsuchen

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 vor 10 Jahren
Ursprung
Commit
8e43a1a143
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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)