Changeset 16553 in niluje


Ignore:
Timestamp:
Oct 8, 2019, 7:26:22 PM (10 days ago)
Author:
NiLuJe
Message:

Kindle Hacks:

  • X-TC:
    • More Clang experiments!
Location:
Configs/trunk/Kindle/Misc
Files:
1 added
1 edited

Legend:

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

    r16550 r16553  
    835835                export LDFLAGS="${LDFLAGS/-L${TC_BUILD_DIR}\/lib /}"
    836836                # Setup Clang + lld
     837                # Strip unsupported flags
     838                export BASE_CFLAGS="${BASE_CFLAGS/ -frename-registers -fweb/}"
     839                export RICE_CFLAGS="${RICE_CFLAGS/ -frename-registers -fweb/}"
     840                export NOLTO_CFLAGS="${NOLTO_CFLAGS/ -frename-registers -fweb/}"
     841                export BASE_CFLAGS="${BASE_CFLAGS/ -fuse-linker-plugin/}"
     842                export RICE_CFLAGS="${RICE_CFLAGS/ -fuse-linker-plugin/}"
    837843                # We need to tweak LTO flags (classic LTO is just -flto, while ThinLTO is -flto=thin, and will parallelize automatically to the right amount of cores).
    838844                export BASE_CFLAGS="${BASE_CFLAGS/-flto=9/-flto=thin}"
Note: See TracChangeset for help on using the changeset viewer.