diff options
author | joerg <joerg@pkgsrc.org> | 2013-10-28 23:48:30 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-10-28 23:48:30 +0000 |
commit | b0303126d9e5b51290d116e75a57b4f94e5fc4d7 (patch) | |
tree | e0833292cef0ce7949a11a7770a48d3d4b05dac4 /lang/gforth/patches | |
parent | ddc847b3916912a40c067b91ce12be62f1f4ce14 (diff) | |
download | pkgsrc-b0303126d9e5b51290d116e75a57b4f94e5fc4d7.tar.gz |
Remove -fno-defer-pop -fcaller-saves -fno-inline, which are workarounds
for various ancient GCC versions.
Diffstat (limited to 'lang/gforth/patches')
-rw-r--r-- | lang/gforth/patches/patch-aa | 11 | ||||
-rw-r--r-- | lang/gforth/patches/patch-engine_Makefile.in | 13 |
2 files changed, 23 insertions, 1 deletions
diff --git a/lang/gforth/patches/patch-aa b/lang/gforth/patches/patch-aa index 1eb41156d23..39ced7c5eeb 100644 --- a/lang/gforth/patches/patch-aa +++ b/lang/gforth/patches/patch-aa @@ -1,9 +1,18 @@ -$NetBSD: patch-aa,v 1.4 2009/08/14 22:52:21 asau Exp $ +$NetBSD: patch-aa,v 1.5 2013/10/28 23:48:30 joerg Exp $ Don't generate and install Emacs byte code file. --- Makefile.in.orig 2008-11-01 20:22:27.000000000 +0300 +++ Makefile.in 2009-08-15 02:04:09.000000000 +0400 +@@ -104,7 +104,7 @@ TEXI2HTML = texi2html + XCFLAGS = @CFLAGS@ + XDEFINES = @DEFS@ + SWITCHES = $(XCFLAGS) $(XDEFINES) $(OPTDEFINES) #-DNDEBUG #turn off assertions +-ENGINE_FLAGS = @ENGINE_FLAGS@ -fno-defer-pop -fcaller-saves ++ENGINE_FLAGS = @ENGINE_FLAGS@ + DEBUGFLAG = @DEBUGFLAG@ + CFLAGS = $(DEBUGFLAG) -I$(srcdir)/engine -I$(srcdir)/arch/$(machine) -O3 -Wall $(SWITCHES) -DDEFAULTPATH='"$(FORTHPATH)"' + CPPFLAGS = @CPPFLAGS@ @@ -430,7 +430,7 @@ ENGINES_FAST = gforth-fast$(OPT)$(EC)$(EXE) #gforth-native$(OPT)$(EC)$(EXE) diff --git a/lang/gforth/patches/patch-engine_Makefile.in b/lang/gforth/patches/patch-engine_Makefile.in new file mode 100644 index 00000000000..c5717f80018 --- /dev/null +++ b/lang/gforth/patches/patch-engine_Makefile.in @@ -0,0 +1,13 @@ +$NetBSD: patch-engine_Makefile.in,v 1.1 2013/10/28 23:48:30 joerg Exp $ + +--- engine/Makefile.in.orig 2013-10-18 15:51:52.000000000 +0000 ++++ engine/Makefile.in +@@ -89,7 +89,7 @@ XCFLAGS = @CFLAGS@ + XDEFINES = @DEFS@ + SWITCHES = $(XCFLAGS) $(XDEFINES) $(OPTDEFINES) + #use -fno-inline to avoid register problems with asinh, atanh on gcc-3.3 on 386 +-ENGINE_FLAGS = @ENGINE_FLAGS@ -fno-defer-pop -fcaller-saves -fno-inline ++ENGINE_FLAGS = @ENGINE_FLAGS@ + DEBUGFLAG = @DEBUGFLAG@ + CFLAGS = $(DEBUGFLAG) -I$(srcdir)/../arch/$(machine) -I. -Wall $(SWITCHES) -DDEFAULTPATH='"$(FORTHPATH)"' $(LTDLINCL) + CFLAGS2 = $(DEBUGFLAG) -I$(srcdir)/../arch/$(machine) -I. -Wall $(SWITCHES) -DDEFAULTPATH='"$(FORTHPATH)"' $(LTDLINCL) |