Browse Source

glibc: enabled to compile with -Os

karasz/qt
Alejandro Mery 15 years ago
parent
commit
1f17cf0cbf
  1. 38
      base/glibc/allow_Os.patch

38
base/glibc/allow_Os.patch

@ -0,0 +1,38 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../glibc/allow_Os.patch
# Copyright (C) 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
http://sourceware.org/bugzilla/show_bug.cgi?id=5203
objdir-x86_64-unknown-linux-gnu/libc_pic.os: In function `faccessat':
(.text+0x7fad9): undefined reference to `fstatat64'
collect2: ld returned 1 exit status
===================================================================
RCS file: /cvs/glibc/libc/io/sys/stat.h,v
retrieving revision 1.57
retrieving revision 1.56
diff -u -r1.57 -r1.56
+++ libc/io/sys/stat.h 2007/09/15 02:27:07 1.57
--- libc/io/sys/stat.h 2007/05/10 23:01:02 1.56
@@ -444,7 +444,7 @@
__mode_t __mode, __dev_t *__dev)
__THROW __nonnull ((3, 5));
-#if defined __GNUC__ && __GNUC__ >= 2 && defined __USE_EXTERN_INLINES
+#if defined __GNUC__ && __GNUC__ >= 2
/* Inlined versions of the real stat and mknod functions. */
__extern_inline int
Loading…
Cancel
Save