packages/net/httping/patches/001-extra_flags.patch
florian 8b00256d07 [package] update httping to 1.3.1 (#5800)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 10:55:03 +00:00

21 lines
431 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)