chiark / gitweb /
pass: Add comment on why we depend on coreutils
[termux-packages] / disabled-packages / openjdk-9-jre-headless / build_ldflags.patch
1 --- ./common/autoconf/generated-configure.sh    2017-05-14 10:01:38.475911076 +0530
2 +++ ../generated-configure.sh   2017-05-14 10:08:25.204273780 +0530
3 @@ -47809,8 +47809,8 @@
4      # Assume the C compiler is the assembler
5      BUILD_AS="$BUILD_CC -c"
6      # Just like for the target compiler, use the compiler as linker
7 -    BUILD_LD="$BUILD_CC"
8 -    BUILD_LDCXX="$BUILD_CXX"
9 +    BUILD_LD="$BUILD_CC -ldl -lpthread"
10 +    BUILD_LDCXX="$BUILD_CXX -ldl -lpthread"
11  
12      PATH="$OLDPATH"
13  
14 --- ./common/autoconf/generated-configure.sh    2017-05-14 10:50:10.292197720 +0530
15 +++ ../generated-configure.sh   2017-05-14 10:53:21.857704488 +0530
16 @@ -37441,8 +37441,8 @@
17      LDCXX="$LD"
18    else
19      # All other toolchains use the compiler to link.
20 -    LD="$CC"
21 -    LDCXX="$CXX"
22 +    LD="$CC -llog"
23 +    LDCXX="$CXX -llog"
24    fi
25  
26    # FIXME: it should be CXXLD, according to standard (cf CXXCPP)