Changeset 16964 in niluje


Ignore:
Timestamp:
Mar 17, 2020, 6:34:13 PM (2 weeks ago)
Author:
NiLuJe
Message:

Nickel Sysroot:

  • Oh, joy. -c++11 doesn't apply during configure's test. This is stupid, and breaks ICU's detection, because it requires C++11
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Configs/trunk/Kindle/Misc/kobo-nickel-sysroot.sh

    r16963 r16964  
    431431        echo 'QMAKE_CXXFLAGS         += $$KOBO_CFLAGS' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    432432        echo 'QMAKE_LFLAGS           += -Wl,--as-needed' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     433        # NOTE: -c++11 doesn't apply during configure's tests, which is a fatal mistake for proper ICU handling (as it requires C++11)...
     434        echo 'QMAKE_CXXFLAGS         += -std=gnu++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     435        echo 'QMAKE_LFLAGS           += -std=gnu++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
     436        #echo 'QMAKE_OBJCXXFLAGS_PRECOMPILE += -std=gnu++11' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    433437        echo "" >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
    434438        echo 'QMAKE_CFLAGS_RELEASE   += -O3 -fomit-frame-pointer -frename-registers -fweb' >> qtbase/mkspecs/linux-arm-nickel-gnueabihf-g++/qmake.conf
Note: See TracChangeset for help on using the changeset viewer.