[Buildroot] [PATCH] package/boost: fixup Optimization flag in boost build

Michael Nosthoff buildroot at heine.tech
Fri Aug 7 08:32:27 UTC 2020


Hi Yann,
 
On Thursday, August 06, 2020 22:16 CEST, "Yann E. MORIN" <yann.morin.1998 at free.fr> wrote: 
 
> Michael, All,
> 
> On 2020-08-05 14:41 +0200, Michael Nosthoff spake thusly:
> > When building with Boost Build the CXXFLAGS are extended depending
...
> 
> Unfortunately, that does not seem to work:
> 
>     gcc.compile.c++ bin.v2/libs/thread/build/gcc-9.2.1/release/threadapi-pthread/threading-multi/visibility-hidden/pthread/thread.o
>     "/home/ymorin/dev/buildroot/O/host/bin/arm-none-linux-gnueabihf-g++"
>         -fvisibility-inlines-hidden -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>         -D_FILE_OFFSET_BITS=64  -Os   -fPIC -pthread -O3 -finline-functions
>         -Wno-inline -Wall -fvisibility=hidden -Wextra -Wno-long-long
>         -Wno-unused-parameter -Wunused-function -pedantic -DBOOST_ALL_NO_LIB=1
>         -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_DONT_USE_CHRONO
>         -DBOOST_THREAD_POSIX -DNDEBUG  -I"." -c -o
>         "bin.v2/libs/thread/build/gcc-9.2.1/release/threadapi-pthread/threading-multi/visibility-hidden/pthread/thread.o"
>         "libs/thread/src/pthread/thread.cpp"
> 

Unfortunately that is true. I had some changes in my tree that made it appear to work.
So it seems i have to fall back to the sed-based approach. I'll send a v2 shortly.

Regards,
Michael




More information about the buildroot mailing list