add dummy -fno-stack-protector to gcc/g++, does nothing

bump version on gcc/g++ packages
This commit is contained in:
sturm 2003-06-16 17:25:19 +00:00
parent 8d33917f63
commit 96632cc291
2 changed files with 25 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.74 2003/06/10 15:43:20 brad Exp $
# $OpenBSD: Makefile,v 1.75 2003/06/16 17:25:19 sturm Exp $
ONLY_FOR_ARCHS= alpha i386 m68k sparc sparc64 powerpc
@ -29,8 +29,8 @@ COMMENT-java= ${COM}: java compiler
COMMENT-objc= ${COM}: obj C compiler
COMMENT-ada= ${COM}: Ada compiler
PKGNAME= gcc-$V
PKGNAME-c++ = g++-$V
PKGNAME= gcc-$Vp0
PKGNAME-c++ = g++-$Vp0
PKGNAME-estdc = libstdc++-$V
PKGNAME-chill= gchill-$V
PKGNAME-g77= g77-$V

View File

@ -0,0 +1,22 @@
$OpenBSD: patch-gcc_toplev_c,v 1.3 2003/06/16 17:25:19 sturm Exp $
--- gcc/toplev.c.orig Tue May 27 13:53:39 2003
+++ gcc/toplev.c Tue May 27 13:56:27 2003
@@ -883,6 +883,9 @@ int align_functions_log;
minimum function alignment. Zero means no alignment is forced. */
int force_align_functions_log;
+/* Fake StackProtector option, does nothing. */
+int flag_propolice_protection = 0;
+
/* Table of supported debugging formats. */
static const struct
{
@@ -1154,6 +1157,8 @@ static const lang_independent_options f_
N_("Report on permanent memory allocation at end of run") },
{ "trapv", &flag_trapv, 1,
N_("Trap for signed overflow in addition / subtraction / multiplication") },
+ { "no-stack-protector", &flag_propolice_protection, 0,
+ N_("Fake disable stack protection") },
};
/* Table of language-specific options. */