Commit 1314e1f1 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Enable LTO in our GCC builds

parent eff758f8
......@@ -45,6 +45,7 @@ RUN mkdir /build && cd /build && \
../configure --prefix=$TOOLCHAIN_PREFIX \
--target=$TARGET_TUPLE \
--enable-languages=c,c++ \
--enable-lto \
--disable-shared \
--disable-multilib && \
make -j4 all-gcc && \
......
......@@ -45,6 +45,7 @@ RUN mkdir /build && cd /build && \
../configure --prefix=$TOOLCHAIN_PREFIX \
--target=$TARGET_TUPLE \
--enable-languages=c,c++ \
--enable-lto \
--disable-shared \
--disable-multilib && \
make -j4 all-gcc && \
......
......@@ -50,6 +50,7 @@ RUN cd /build && \
../configure --prefix=$TOOLCHAIN_PREFIX \
--target=$TARGET_TUPLE \
--enable-languages=c,c++ \
--enable-lto \
--disable-shared \
--disable-multilib && \
make -j4 all-gcc && \
......
......@@ -49,6 +49,7 @@ RUN cd /build && \
../configure --prefix=$TOOLCHAIN_PREFIX \
--target=$TARGET_TUPLE \
--enable-languages=c,c++ \
--enable-lto \
--disable-shared \
--disable-multilib \
--enable-sjlj-exceptions && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment