瀏覽代碼

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 10 年之前
父節點
當前提交
8e43a1a143
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 classGENERAL_REGSwhile reloadingasm
  */
 int
+#ifndef  __OPTIMIZE__
 attribute_optimize("Os")
+#endif
 pthread_mutex_timedlock (
      pthread_mutex_t *mutex,
      const struct timespec *abstime)