| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/pcapfix/files/ |
Upload File : |
--- Makefile.orig 2021-04-06 13:54:58 UTC +++ Makefile @@ -7,18 +7,7 @@ OPTFLAGS = $(shell getconf LFS_CFLAGS) -D_FORTIFY_SOUR WARNFLAGS = -Wall -Wextra -std=gnu99 -pedantic -Wformat -Werror=format-security DEBUGFLAGS = -g CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEBUGFLAGS) - -# Determine extra LDFLAGS -OS := $(shell uname) -ifeq ($(findstring Darwin,$(OS)),Darwin) - skip_ldflags = yes -endif -ifeq ($(findstring CYGWIN,$(OS)),CYGWIN) - skip_ldflags = yes -endif -ifndef skip_ldflags - LDFLAGS += -Wl,-z,relro -endif +LDFLAGS += -Wl,-z,relro all: pcap pcap_kuznet pcapng $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) pcapfix.c pcap.o pcap_kuznet.o pcapng.o -o pcapfix