summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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