radhermit 15/06/23 00:24:42 Added: proxychains-4.10-makefile.patch Log: Version bump. (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path 1.1 net-misc/proxychains/files/proxychains-4.10-makefile.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/proxychains/files/proxychains-4.10-makefile.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/proxychains/files/proxychains-4.10-makefile.patch?rev=1.1&content-type=text/plain Index: proxychains-4.10-makefile.patch =================================================================== --- proxychains-ng-4.10.orig/Makefile +++ proxychains-ng-4.10/Makefile @@ -22,11 +22,9 @@ GENH = src/version.h -CFLAGS += -Wall -O0 -g -std=c99 -D_GNU_SOURCE -pipe -NO_AS_NEEDED = -Wl,--no-as-needed -LIBDL = -ldl -LDFLAGS = -shared -fPIC $(NO_AS_NEEDED) $(LIBDL) -lpthread -INC = +CFLAGS = -Wall -std=c99 -D_GNU_SOURCE +LIBS = -ldl -lpthread +INC = PIC = -fPIC AR = $(CROSS_COMPILE)ar RANLIB = $(CROSS_COMPILE)ranlib @@ -35,11 +33,11 @@ LD_SET_SONAME = -Wl,-soname= INSTALL = ./tools/install.sh -LDSO_PATHNAME = libproxychains4.$(LDSO_SUFFIX) +LDSO_PATHNAME = libproxychains.$(LDSO_SUFFIX) SHARED_LIBS = $(LDSO_PATHNAME) ALL_LIBS = $(SHARED_LIBS) -PXCHAINS = proxychains4 +PXCHAINS = proxychains ALL_TOOLS = $(PXCHAINS) ALL_CONFIGS = src/proxychains.conf @@ -81,11 +79,10 @@ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_MAIN) $(INC) $(PIC) -c -o $@ $< $(LDSO_PATHNAME): $(LOBJS) - $(CC) $(LDFLAGS) $(LD_SET_SONAME)$(LDSO_PATHNAME) $(USER_LDFLAGS) \ - -o $@ $(LOBJS) + $(CC) $(LDFLAGS) -shared $(PIC) $(LD_SET_SONAME)$(LDSO_PATHNAME) -o $@ $(LOBJS) $(LIBS) $(ALL_TOOLS): $(OBJS) - $(CC) src/main.o src/common.o $(USER_LDFLAGS) -o $(PXCHAINS) + $(CC) $(LDFLAGS) src/main.o src/common.o -o $(PXCHAINS) $(LIBS) .PHONY: all clean install install-config install-libs install-tools