1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00

Enable hardening flags for stage-1 gcc

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-10-14 16:35:02 +02:00
parent 0958272eb3
commit 52933c58c9

View file

@ -41,9 +41,10 @@ build() {
--disable-nls --disable-shared --without-headers \ --disable-nls --disable-shared --without-headers \
--disable-multilib --disable-decimal-float \ --disable-multilib --disable-decimal-float \
--disable-libgomp --disable-libmudflap \ --disable-libgomp --disable-libmudflap \
--disable-libssp --disable-libatomic \ --enable-libssp --disable-libatomic \
--disable-libquadmath --disable-threads \ --disable-libquadmath --disable-threads \
--enable-languages=c --with-newlib \ --enable-languages=c --with-newlib \
--enable-default-pie --enable-default-ssp \
--with-arch="$GCC_CPU" $GCC_EXTRACFG --with-arch="$GCC_CPU" $GCC_EXTRACFG
make -j $NUMJOBS all-gcc all-target-libgcc make -j $NUMJOBS all-gcc all-target-libgcc