Blame view

buildroot/buildroot-2016.08.1/package/xscreensaver/0001-fix-cross-compile-ansi-c-bailout.patch 868 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  The configure bails out when cross-compiling, because it is over-cautious
  about ANSI support in the C compiler. Work around this by disabling the
  bail-out code.
  
  [Peter: updated for 5.32]
  Signed-off-by: Simon Dawson <spdawson@gmail.com>
  Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  
  diff -Nurp a/configure b/configure
  --- a/configure	2013-07-16 10:23:32.000000000 +0100
  +++ b/configure	2013-09-22 14:50:07.186953454 +0100
  @@ -4374,7 +4374,6 @@ $as_echo "Solaris: adding -D__EXTENSIONS
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler works on ANSI C" >&5
   $as_echo_n "checking whether the compiler works on ANSI C... " >&6; }
     if test "$cross_compiling" = yes; then :
  -  as_fn_error $? "Couldn't build even a trivial ANSI C program: check CC." "$LINENO" 5
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   /* end confdefs.h.  */