packages/net/httping/patches/001-extra_flags.patch
jow e98802e5e5 [packages] httping: update to v1.4.0 (#6461)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@19072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-08 00:12:00 +00:00

21 lines
433 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ TARGET=httping
WFLAGS=-Wall -W
OFLAGS=-O2
-CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
+CFLAGS+=$(EXTRA_CFLAGS) $(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\"
PACKAGE=$(TARGET)-$(VERSION)
PREFIX=/usr
@@ -47,7 +47,7 @@ ifeq ($(SSL),no)
CFLAGS+=-DNO_SSL
else
OBJS+=mssl.o
-LDFLAGS+=-lssl -lcrypto
+LDFLAGS+=$(EXTRA_LDFLAGS) -lssl -lcrypto
endif
ifeq ($(DEBUG),yes)