mirror of
https://github.com/amnezia-vpn/amneziawg-tools.git
synced 2025-04-11 11:36:54 +02:00
* UAPI changes for Amnezia kernel module * Fix indents * Fix indents * Fix indents * Change protocol type * Change protocol type * Change protocol type * Change protocol type * Revert "Change protocol type" * K * Fix wg-quick * Prepare packaging * Prepare packaging * Prepare packaging * Prepare packaging * naming convention fix * Bash completions * Naming unify * Naming unify * SPEC file for RPM build * SPEC file for RPM build * SPEC file for RPM build * SPEC file for RPM build --------- Co-authored-by: Mark Puha <marko10@inf.elte.hu>
21 lines
635 B
Diff
21 lines
635 B
Diff
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
|
|
Date: Wed, 15 Jan 2020 11:23:27 -0500
|
|
Subject: Avoid using git during build
|
|
|
|
---
|
|
src/Makefile | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
--- a/src/Makefile 2021-08-13 17:36:03.385973646 -0400
|
|
+++ b/src/Makefile 2021-08-13 17:36:03.369973776 -0400
|
|
@@ -48,10 +48,6 @@
|
|
ifeq ($(DEBUG),yes)
|
|
CFLAGS += -g
|
|
endif
|
|
-WIREGUARD_TOOLS_VERSION = $(patsubst v%,%,$(shell GIT_DIR="$(PWD)/../.git" git describe --dirty 2>/dev/null))
|
|
-ifneq ($(WIREGUARD_TOOLS_VERSION),)
|
|
-CFLAGS += -D'WIREGUARD_TOOLS_VERSION="$(WIREGUARD_TOOLS_VERSION)"'
|
|
-endif
|
|
ifeq ($(PLATFORM),freebsd)
|
|
LDLIBS += -lnv
|
|
endif
|