Changeset 17637 in niluje


Ignore:
Timestamp:
Jul 31, 2020, 8:37:00 AM (9 days ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • Fix libunwind build
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/x-compile.sh

    r17636 r17637  
    46294629        patch -p1 < ${SVN_ROOT}/Configs/trunk/Kindle/Misc/libunwind-fix-Makefile-for-lto.patch
    46304630        env NOCONFIGURE=1 ./autogen.sh
     4631        # NOTE: Our kernels are way too old to feature this definition (in <linux/elf.h>)...
     4632        export CPPFLAGS="${BASE_CPPFLAGS} -DNT_FILE=0x46494c45"
    46314633        # Setup an rpath, since it's a modular library
    46324634        export LDFLAGS="${BASE_LDFLAGS} -Wl,-rpath=${DEVICE_USERSTORE}/usbnet/lib"
     
    46354637        make install
    46364638        export LDFLAGS="${BASE_LDFLAGS}"
     4639        export CPPFLAGS="${BASE_CPPFLAGS}"
    46374640        # We'll need that...
    46384641        cp ../lib/libunwind-ptrace.so.0.0.0 ${BASE_HACKDIR}/USBNetwork/src/usbnet/lib/libunwind-ptrace.so.0
Note: See TracChangeset for help on using the changeset viewer.