summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHayden <me@diatr.us>2021-03-19 04:26:49 -0400
committerGitHub <noreply@github.com>2021-03-19 04:26:49 -0400
commite51be03e52cff72275c549504752a3d8051102d0 (patch)
tree4a448a95928a9e3dce273e6f92186fbdb3079cf2
parent6fdbf4a5b997d5b9ed5e0efd4d0ffb21d0e7b5a0 (diff)
downloadpw-darwin-e51be03e52cff72275c549504752a3d8051102d0.tar.gz
pw-darwin-e51be03e52cff72275c549504752a3d8051102d0.tar.zst
pw-darwin-e51be03e52cff72275c549504752a3d8051102d0.zip
Forgot ldflags
-rw-r--r--pw/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/pw/Makefile b/pw/Makefile
index 1f20552..b6279ef 100644
--- a/pw/Makefile
+++ b/pw/Makefile
@@ -2,6 +2,7 @@ CC ?= aarch64-apple-darwin-clang
STRIP ?= aarch64-apple-darwin-strip
LDID ?= ldid
CFLAGS ?= -arch arm64 -isysroot /home/cameron/Documents/SDK/iPhoneOS14.3.sdk -miphoneos-version-min=13.0
+LDFLAGS ?=
GINSTALL ?= install
PREFIX ?= /usr
DESTDIR ?=
@@ -40,7 +41,7 @@ all: pw
install: install-pw
pw: $(SRC) $(LIBUTILSRC) $(SBUFSRC) ent.xml
- $(CC) $(CFLAGS) -o pw -I. -Isbuf -Ilibutil $(SRC) $(LIBUTILSRC) $(SBUFSRC) -lcrypt
+ $(CC) $(CFLAGS) -o pw -I. -Isbuf -Ilibutil $(SRC) $(LIBUTILSRC) $(SBUFSRC) $(LDFLAGS) -lcrypt
$(STRIP) pw
$(LDID) -Sent.xml pw