We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6061b86 commit 08f86efCopy full SHA for 08f86ef
Makefile
@@ -1,10 +1,10 @@
1
VERSION = 2
2
LIBRARY_NAME = pam_watchid.so
3
DESTINATION = /usr/local/lib/pam
4
-TARGET = x86_64-apple-macosx10.15
+TARGET = $(shell clang -dumpmachine)
5
6
all:
7
- swiftc watchid-pam-extension.swift -o $(LIBRARY_NAME) -target $(TARGET) -emit-library
+ swiftc watchid-pam-extension.swift -O -Ounchecked -gnone -o $(LIBRARY_NAME) -target $(TARGET) -emit-library
8
9
install: all
10
mkdir -p $(DESTINATION)
0 commit comments