From c0e72118fd272085907e90a5e0f421e6ef4d4940 Mon Sep 17 00:00:00 2001 From: "U-C4\\Administrator" Date: Thu, 4 Oct 2007 11:53:12 -0500 Subject: [PATCH] Add vim swap files to .gitignore (foo/bar/.baz.factor.swp) Remove -fomit-frame-pointer from Windows optimized compiles because it causes incorrect code Add -fomit-frame-pointer to Config.unix --- .gitignore | 1 + Makefile | 2 +- vm/Config.unix | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6a748023af..b80837f4e2 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ factor .DS_Store .gdb_history *.*.marks +.*.swp diff --git a/Makefile b/Makefile index 11563a0698..378f96deae 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ CFLAGS = -Wall ifdef DEBUG CFLAGS += -g else - CFLAGS += -O3 -fomit-frame-pointer $(SITE_CFLAGS) + CFLAGS += -O3 $(SITE_CFLAGS) endif ifdef CONFIG diff --git a/vm/Config.unix b/vm/Config.unix index 831b3378d8..bcea3aef77 100644 --- a/vm/Config.unix +++ b/vm/Config.unix @@ -1,3 +1,7 @@ +#ifndef DEBUG +C_FLAGS += -fomit-frame-pointer +#endif + EXE_SUFFIX = DLL_PREFIX = lib DLL_EXTENSION = .a