Debian Codegraph @

debian/patches/makefile.patch

raw symbols SCIP
1 Descriptionscip-debian debian patman 1.2.2+dfsg-8 patman/patches/`makefile.patch`#Description.: Makefile fixes
2 Drop -march=k8 from build options
3 Fix passing of hardening flags in CXXFLAGS
4 instead of CPPFLAGS, fixes FTBFS on X32
5 Bug-Debianscip-debian debian patman 1.2.2+dfsg-8 patman/patches/`makefile.patch`#Bug-Debian.: https://bugs.debian.org/884342scip-debian-bts debian-bts . . 884342:
6 Bug-Debianscip-debian debian patman 1.2.2+dfsg-8 patman/patches/`makefile.patch`#Bug-Debian.: https://bugs.debian.org/884795scip-debian-bts debian-bts . . 884795:
7 Authorscip-debian debian patman 1.2.2+dfsg-8 patman/patches/`makefile.patch`#Author.: Andreas Tille <[email protected]scip-debian . . . identity/`[email protected]`.>
8 Authorscip-debian debian patman 1.2.2+dfsg-8 patman/patches/`makefile.patch`#Author.: Graham Inggs <[email protected]scip-debian . . . identity/`[email protected]`.>
9 Last-Updatescip-debian debian patman 1.2.2+dfsg-8 patman/patches/`makefile.patch`#Last-Update.: 2017-12-21
10
11 --- a/Makefilescip-debian debian patman 1.2.2+dfsg-8 patman/upstream/Makefile:
12 +++ b/Makefilescip-debian debian patman 1.2.2+dfsg-8 patman/upstream/Makefile:
13 @@ -11,18 +11,18 @@
14
15 TARGETS := patman
16 OBJS := prefix_tree.o fasta.o main.o
17 -CPPFLAGS += -Wall
18 -CPPFLAGS += -O3 -funroll-loops -DNDEBUG -march=k8
19 -# CPPFLAGS += -ggdb
20 +CXXFLAGS += -Wall
21 +CXXFLAGS += -O3 -funroll-loops -DNDEBUG
22 +# CXXFLAGS += -ggdb
23 LDLIBS += -lpopt
24
25 all: $(TARGETS)
26
27 patman: $(OBJS)
28 - g++ $(CPPFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
29 + g++ $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
30
31 %.o: %.cpp
32 - g++ -DVERSION="\"$(version)\"" $(CPPFLAGS) -c -o $@ $<
33 + g++ -DVERSION="\"$(version)\"" $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
34
35 install: $(TARGETS)
36 install -d ${prefix}/bin