blob: 9d2594ce6a31e2f5a12b672ef464b966aecc12d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-cpp_Makefile,v 1.1 2021/08/17 07:59:19 wiz Exp $
Honor LDFLAGS.
https://github.com/nayuki/QR-Code-generator/pull/76
--- cpp/Makefile.orig 2018-11-02 00:40:31.000000000 +0000
+++ cpp/Makefile
@@ -66,7 +66,7 @@ clean:
# Executable files
%: %.o $(LIBFILE)
- $(CXX) $(CXXFLAGS) -o $@ $< -L . -l $(LIB)
+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $< -L . -l $(LIB)
# The library
$(LIBFILE): $(LIBOBJ)
|