diff options
author | Chung-Lin Tang <cltang@codesourcery.com> | 2010-11-02 10:34:54 +0000 |
---|---|---|
committer | Chung-Lin Tang <cltang@gcc.gnu.org> | 2010-11-02 10:34:54 +0000 |
commit | 47afeed5cc59235c41c17f0c9fc7991ffc73ea1a (patch) | |
tree | 420518e04564ba822cd5441e3ec2c930a47bdf36 /gcc/Makefile.in | |
parent | 94a86be0ddc6fdf0872459ed448a90cae2eceb0e (diff) | |
download | gcc-47afeed5cc59235c41c17f0c9fc7991ffc73ea1a.tar.gz |
Makefile.in (LIBGCC2_CFLAGS): Add -fno-stack-protector...
* Makefile.in (LIBGCC2_CFLAGS): Add -fno-stack-protector, to
explicitly disable stack protection when building libgcc.
(CRTSTUFF_CFLAGS): Same, for crtbegin/end.
From-SVN: r166173
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 898e96224fb..922b1328366 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -653,6 +653,7 @@ LIBGCC2_DEBUG_CFLAGS = -g LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) \ $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) \ -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \ + -fno-stack-protector \ $(INHIBIT_LIBC_CFLAGS) # Additional options to use when compiling libgcc2.a. @@ -666,6 +667,7 @@ TARGET_LIBGCC2_CFLAGS = CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \ -finhibit-size-directive -fno-inline -fno-exceptions \ -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize \ + -fno-stack-protector \ $(INHIBIT_LIBC_CFLAGS) # Additional sources to handle exceptions; overridden by targets as needed. |