From 0611f706d5cf2c5f18e18d51f2866956870b131a Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Fri, 9 Sep 2022 16:15:06 +0200 Subject: 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 --- chapter08/gcc.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chapter08') diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 9c7c0065a..fd6e5ae3c 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -74,6 +74,8 @@ cd build ../configure --prefix=/usr \ LD=ld \ --enable-languages=c,c++ \ + --enable-default-pie \ + --enable-default-ssp \ --disable-multilib \ --disable-bootstrap \ --with-system-zlib -- cgit v1.2.3-54-g00ecf