projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] kernel: rename kmod-switch-rtl8366_smi to kmod-switch-rtl8366-smi to avoid...
[openwrt.git]
/
package
/
uhttpd
/
src
/
Makefile
diff --git
a/package/uhttpd/src/Makefile
b/package/uhttpd/src/Makefile
index
9c3cc7f
..
5e98ab8
100644
(file)
--- a/
package/uhttpd/src/Makefile
+++ b/
package/uhttpd/src/Makefile
@@
-4,16
+4,16
@@
TLS_SUPPORT ?= 1
UHTTPD_TLS ?= cyassl
CFLAGS ?= -I./lua-5.1.4/src $(TLS_CFLAGS) -O0 -ggdb3
UHTTPD_TLS ?= cyassl
CFLAGS ?= -I./lua-5.1.4/src $(TLS_CFLAGS) -O0 -ggdb3
-LDFLAGS ?= -L./lua-5.1.4/src
$(TLS_LDFLAGS)
+LDFLAGS ?= -L./lua-5.1.4/src
CFLAGS += -Wall --std=gnu99
ifeq ($(UHTTPD_TLS),openssl)
CFLAGS += -Wall --std=gnu99
ifeq ($(UHTTPD_TLS),openssl)
- TLS_LDFLAGS
:
= -L./openssl-0.9.8m -lssl
- TLS_CFLAGS
:
= -I./openssl-0.9.8m/include -DTLS_IS_OPENSSL
+ TLS_LDFLAGS
?
= -L./openssl-0.9.8m -lssl
+ TLS_CFLAGS
?
= -I./openssl-0.9.8m/include -DTLS_IS_OPENSSL
else
else
- TLS_LDFLAGS
:
= -L./cyassl-1.4.0/src/.libs -lcyassl
- TLS_CFLAGS
:
= -I./cyassl-1.4.0/include -DTLS_IS_CYASSL
+ TLS_LDFLAGS
?
= -L./cyassl-1.4.0/src/.libs -lcyassl
+ TLS_CFLAGS
?
= -I./cyassl-1.4.0/include -DTLS_IS_CYASSL
endif
OBJ := uhttpd.o uhttpd-file.o uhttpd-utils.o
endif
OBJ := uhttpd.o uhttpd-file.o uhttpd-utils.o
@@
-62,7
+62,7
@@
ifeq ($(TLS_SUPPORT),1)
$(TLSLIB): uhttpd-tls.c
$(CC) $(CFLAGS) $(LDFLAGS) $(FPIC) \
$(TLSLIB): uhttpd-tls.c
$(CC) $(CFLAGS) $(LDFLAGS) $(FPIC) \
- -shared \
+ -shared
$(TLS_LDFLAGS)
\
-o $(TLSLIB) uhttpd-tls.c
endif
-o $(TLSLIB) uhttpd-tls.c
endif
This page took
0.024307 seconds
and
4
git commands to generate.