debian: fix build-deps for focal
[amule.git] / src / utils / patches / cryptopp / mac_build.patch
blob67e22e2606f1160fc1ab92709b34a68d98b69783
1 diff -u GNUmakefile-orig GNUmakefile
2 --- GNUmakefile-orig 2010-08-09 14:22:42.000000000 -0500
3 +++ GNUmakefile 2010-12-19 15:14:28.000000000 -0600
4 @@ -1,4 +1,4 @@
5 -CXXFLAGS = -DNDEBUG -g -O2
6 +CXXFLAGS += -DNDEBUG -g -O2
7 #CXXFLAGS = -g
8 # -fPIC is supported. Please report any breakage of -fPIC as a bug.
9 # CXXFLAGS += -fPIC
10 @@ -35,7 +35,7 @@
12 ifneq ($(GCC42_OR_LATER),0)
13 ifeq ($(UNAME),Darwin)
14 -CXXFLAGS += -arch x86_64 -arch i386
15 +#CXXFLAGS += -arch x86_64 -arch i386
16 else
17 CXXFLAGS += -march=native
18 endif
19 @@ -87,7 +87,7 @@
20 ifeq ($(UNAME),Darwin)
21 AR = libtool
22 ARFLAGS = -static -o
23 -CXX = c++
24 +#CXX = c++
25 IS_GCC2 = $(shell $(CXX) -v 2>&1 | $(EGREP) -c gcc-932)
26 ifeq ($(IS_GCC2),1)
27 CXXFLAGS += -fno-coalesce-templates -fno-coalesce-static-vtables