upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ipguard / trunk / pass-ldflags.patch
blob743f5ec81bb810e8670102ea37f550fbb429a50f
1 Only in ipguard-1.04.new: ethers.o
2 Only in ipguard-1.04.new: ipguard.o
3 diff -aur ipguard-1.04/Makefile ipguard-1.04.new/Makefile
4 --- ipguard-1.04/Makefile 2010-07-12 05:46:36.000000000 +0200
5 +++ ipguard-1.04.new/Makefile 2019-09-22 15:25:20.293393602 +0200
6 @@ -34,7 +34,7 @@
8 .c.o:
9 @echo Compiling $*.c
10 - @$(CC) -c $(CFLAGS) $(INCLUDES) $(DEFINES) $<
11 + @$(CC) -c $(CFLAGS) $(CPPFLAGS) $(INCLUDES) $(DEFINES) $<
13 all: start $(NAME)
15 @@ -47,7 +47,7 @@
17 $(NAME): $(OBJS)
18 @echo Linking $@
19 - @$(CC) -o $@ $(OBJS) $(LIBS) $(STATIC)
20 + @$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) $(STATIC)
22 clean:
23 @echo Cleaning OBJS
24 Only in ipguard-1.04.new: packet.o
25 Only in ipguard-1.04.new: system.o