Skip to content

Commit b99761d

Browse files
committed
Build GCC with support for BOLT
1 parent e8e00f5 commit b99761d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ cd ../gcc-build
3030
hide_output ../gcc-$GCC/configure \
3131
--prefix=/rustroot \
3232
--enable-languages=c,c++ \
33-
--disable-gnu-unique-object
33+
--disable-gnu-unique-object \
34+
--enable-cxx-flags='-fno-reorder-blocks-and-partition'
3435
hide_output make -j$(nproc)
3536
hide_output make install
3637
ln -s gcc /rustroot/bin/cc

0 commit comments

Comments
 (0)