diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-cdr/gaffitter/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-cdr/gaffitter/files')
-rw-r--r-- | app-cdr/gaffitter/files/gaffitter-0.6.0-fix-build-system.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-cdr/gaffitter/files/gaffitter-0.6.0-fix-build-system.patch b/app-cdr/gaffitter/files/gaffitter-0.6.0-fix-build-system.patch new file mode 100644 index 000000000000..df7d99b9c31e --- /dev/null +++ b/app-cdr/gaffitter/files/gaffitter-0.6.0-fix-build-system.patch @@ -0,0 +1,32 @@ +--- a/src/Makefile ++++ b/src/Makefile +@@ -6,28 +6,14 @@ + optimizers/BestFit.cc optimizers/Split.cc \ + util/CmdLineParser.cc + +-INCLUDES = -I/usr/local/include -I. +-CXX = g++ +-CXXFLAGS = -O3 -Wno-long-long $(INCLUDES) +-LIBPATH = +-LIBS = +-LDFLAGS = $(LIBPATH) $(LIBS) +- + ########################################################################### + + OBJS = $(CPPFILES:.cc=.o) + +-.SUFFIXES: .o .cc +- +-.cc.o: +- @echo $<: +- $(CXX) $(CXXFLAGS) -c $*.cc -o $*.o +- + default: gaffitter + + +-gaffitter: $(OBJS) gaffitter.cc Params.h +- $(CXX) $(CXXFLAGS) $@.cc $(OBJS) -o $@ $(LDFLAGS) ++gaffitter: $(OBJS) Params.h + ########################################################################### + + objs: $(OBJS) |