aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2022-09-09 16:15:06 +0200
committerPierre Labastie <pierre.labastie@neuf.fr>2022-09-09 16:15:06 +0200
commit0611f706d5cf2c5f18e18d51f2866956870b131a (patch)
tree65eb7e455b3328223bd48c37465db91276cb3391 /chapter06
parent917868fc69f30b569aea433f547d9d4cc89b6c52 (diff)
Use default-pie and default-ssp flags in gcc
Committing only the commands for now, so that others can test the build. TODO: - add command explanations - add changelog - comment on failing tests in binutils and gcc
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gcc-pass2.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/chapter06/gcc-pass2.xml b/chapter06/gcc-pass2.xml
index aab95d58f..6774134a2 100644
--- a/chapter06/gcc-pass2.xml
+++ b/chapter06/gcc-pass2.xml
@@ -90,6 +90,8 @@ cd build</userinput></screen>
LDFLAGS_FOR_TARGET=-L$PWD/$LFS_TGT/libgcc \
--prefix=/usr \
--with-build-sysroot=$LFS \
+ --enable-default-pie \
+ --enable-default-ssp \
--disable-nls \
--disable-multilib \
--disable-decimal-float \