diff options
Diffstat (limited to 'archivers/ppmd/patches/patch-aa')
-rw-r--r-- | archivers/ppmd/patches/patch-aa | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/archivers/ppmd/patches/patch-aa b/archivers/ppmd/patches/patch-aa new file mode 100644 index 00000000000..fe8234c299a --- /dev/null +++ b/archivers/ppmd/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/03/08 23:44:00 ben Exp $ + +--- makefile.gmk.orig 2004-03-08 15:08:54.000000000 -0800 ++++ makefile.gmk +@@ -1,18 +1,17 @@ + ## Take a look at PPMdType.h for additional compiler & environment options + OBJS = PPMd.o Model.o + +-CXX = Gcc +-LINK = Gcc ++LINK = $(CXX) + CODE_FLAGS = -fno-exceptions -fno-rtti -pedantic -Wall \ + -Wno-unknown-pragmas -Wno-sign-compare -Wno-conversion +-OPT_FLAGS = -O3 -mcpu=pentiumpro -fomit-frame-pointer -fstrict-aliasing +-DEBUG_FLAGS = -g0 ++OPT_FLAGS = ++DEBUG_FLAGS = -g + LD_FLAGS = -s + +-PPMd.exe: $(OBJS) +- $(LINK) -o PPMd.exe $(OBJS) -lstdcxx -Xlinker $(LD_FLAGS) ++ppmd: $(OBJS) ++ $(LINK) $(LD_FLAGS) -o ppmd $(OBJS) + + Model.o: Model.cpp PPMdType.h PPMd.h SubAlloc.hpp Coder.hpp + $(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c Model.cpp + PPMd.o: PPMd.cpp PPMdType.h PPMd.h +- $(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c PPMd.cpp +\ No newline at end of file ++ $(CXX) $(CODE_FLAGS) $(OPT_FLAGS) $(DEBUG_FLAGS) -c PPMd.cpp |