File: drop-memcpy-wrapper.patch

package info (click to toggle)
fastani 1.34%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,284 kB
  • sloc: cpp: 6,785; ansic: 385; python: 50; sh: 50; makefile: 19
file content (22 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Drop memcpy wrapper
 Not needed here, as our binaries needn't be portable across glib versions.
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-03-27
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,15 +1,6 @@
 CXXFLAGS += -O3 -DNDEBUG -std=c++11 -Isrc -I @mathinc@ @OPENMP_CXXFLAGS@
 CPPFLAGS += @amcppflags@
 
-UNAME_S=$(shell uname -s)
-
-ifeq ($(UNAME_S),Darwin)  #macOS clang
-	CXXFLAGS += -mmacosx-version-min=10.7 -stdlib=libc++ -Xpreprocessor -fopenmp -lomp
-else
-	CXXFLAGS += -include src/common/memcpyLink.h -Wl,--wrap=memcpy
-	CFLAGS += -include src/common/memcpyLink.h
-endif
-
 SOURCES=src/cgi/core_genome_identity.cpp src/cgi/main.cpp
 
 all : fastANI