diff options
| author | Robert Mustacchi <rm@fingolfin.org> | 2020-10-24 17:43:02 -0700 |
|---|---|---|
| committer | Robert Mustacchi <rm@fingolfin.org> | 2020-11-17 08:52:10 -0800 |
| commit | 5a0af8165ce9590e7a18f1ef4f9badc4dd72c6e6 (patch) | |
| tree | 762f2de7c139aee157730b0e788d3a61462554e9 /usr/src/tools | |
| parent | 6a817834d81cc75ce12d0d393320837b1fec1e85 (diff) | |
| download | illumos-joyent-5a0af8165ce9590e7a18f1ef4f9badc4dd72c6e6.tar.gz | |
13274 enable -fstack-protector-strong by default in user land
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/tools')
| -rw-r--r-- | usr/src/tools/Makefile.tools | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/src/tools/Makefile.tools b/usr/src/tools/Makefile.tools index aeb9449af3..9fd747751d 100644 --- a/usr/src/tools/Makefile.tools +++ b/usr/src/tools/Makefile.tools @@ -63,6 +63,13 @@ LDFLAGS= $(MAPFILE.NES:%=-Wl,-M%) $(MAPFILE.NED:%=-Wl,-M%) \ # tools. GSHARED = -_cc=-G -_gcc=-shared +# +# To work around a bootstrapping problem, we don't assume that the +# compiler or environment are properly configured to make the stack +# protector work. Disable it right now for the tools. +# +STACKPROTECT = none + # Unset CW_LINKER so we run the default. We don't set LD here to avoid taking # the journey through LD_ALTEXEC unnecessarily. CW_LINKER= |
