[med-svn] [Git][med-team/diann][master] Sanitize Makefile a little more
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Tue Jan 18 19:18:36 GMT 2022
Nilesh Patra pushed to branch master at Debian Med / diann
Commits:
b28cdc27 by Nilesh Patra at 2022-01-18T11:15:43-08:00
Sanitize Makefile a little more
- - - - -
1 changed file:
- debian/patches/Makefile.patch
Changes:
=====================================
debian/patches/Makefile.patch
=====================================
@@ -3,20 +3,18 @@ Author: Nilesh Patra <nilesh at debian.org>
Last-Update: 2022-01-18
--- /dev/null
+++ b/Makefile
-@@ -0,0 +1,22 @@
+@@ -0,0 +1,20 @@
+CXX ?= g++
+LD = g++
+PROG = bin/diann
+OBJS = src/diann.o
-+CXXFLAGS = -Wformat -Werror=format-security -std=c++17 -fpermissive -O3 -mfpmath=sse \
-+ -I/usr/include/libmstoolkit \
-+ -I/usr/include/eigen3 \
++CXXFLAGS += -I/usr/include/libmstoolkit -I/usr/include/eigen3 \
+ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DGCC -DHAVE_EXPAT_CONFIG_H
+
+all: $(PROG)
+
+src/diann.cpp.o: src/diann.cpp
-+ $(CXX) $(CXXFLAGS) -c $@ $<
++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $@ $<
+
+$(PROG): $(OBJS)
+ mkdir -p bin/
View it on GitLab: https://salsa.debian.org/med-team/diann/-/commit/b28cdc276102ca663739c6377cb483682e08882c
--
View it on GitLab: https://salsa.debian.org/med-team/diann/-/commit/b28cdc276102ca663739c6377cb483682e08882c
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220118/d30da002/attachment.htm>
More information about the debian-med-commit
mailing list