blob: 72591115a45a2d7ea79dc2e28f51d3503669c9f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Respect CC and LDFLAGS.
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
CC=gcc
endif
tarsync: main.o names.o tar.o string-misc.o fs.o options.o excludes.o
- gcc $(CFLAGS) $^ -o tarsync -lcfile
+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o tarsync -lcfile
all: tarsync
clean:
|