mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
3b57cccb71
SVN-Revision: 20462
21 lines
309 B
Diff
21 lines
309 B
Diff
--- a/common.mak
|
|
+++ b/common.mak
|
|
@@ -1,7 +1,7 @@
|
|
# vim:set sw=8 nosta:
|
|
|
|
COPTS=-Os -Wall -g
|
|
-LDFLAGS=-g -ldl
|
|
+LDFLAGS=-g
|
|
|
|
CFLAGS=$(COPTS)
|
|
FPIC=-fPIC
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -40,5 +40,6 @@ ifdef STATIC_WORKER
|
|
CFLAGS += -DSTATIC_WORKER=1
|
|
else
|
|
CFLAGS += $(FPIC)
|
|
+ LDFLAGS += -ldl
|
|
endif
|
|
|