[olsr-dev] secure plugin makefile
Bruno Randolf
(spam-protected)
Mon Feb 28 11:46:32 CET 2005
hello!
please add the following change to the CVS, in order to allow for a more
flexible building, i.e. cross-building of olsrd.
and please, remember to never overwrite any CFLAGS, LDFLAGS, GCC, LD...
variables from within a Makefile with "=", please use "?=" (set if not
defined) or "+=" (append), as some build processes need to control these
things from the outside.
thanks & greetings,
bruno
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/lib/secure/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- secure/Makefile 25 Feb 2005 22:47:30 -0000 1.12
+++ secure/Makefile 28 Feb 2005 10:42:53 -0000
@@ -16,7 +16,7 @@
NAME ?= olsrd_secure.so.0.4
LIBDIR ?= $(INSTALL_PREFIX)/usr/lib
LIBS ?= -lc -lssl -lcrypto -lm
-LDFLAGS = -fPIC
+LDFLAGS += -fPIC
CFLAGS ?= -Wall -Wmissing-prototypes -Wstrict-prototypes -g -O2
INSTALL_LIB = install -D -m 755 $(NAME) $(LIBDIR)/$(NAME);\
/sbin/ldconfig -n $(LIBDIR)
@@ -27,7 +27,7 @@
NAME ?= olsrd_secure.so.0.4
LIBDIR ?= $(INSTALL_PREFIX)/usr/lib
LIBS ?= -lc -lssl -lcrypto -lm
-LDFLAGS = -fPIC
+LDFLAGS += -fPIC
CFLAGS ?= -Wall -Wmissing-prototypes -Wstrict-prototypes -g -O2
INSTALL_LIB = install -m 755 $(NAME) $(LIBDIR)/$(NAME);\
/sbin/ldconfig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20050228/34130019/attachment.sig>
More information about the Olsr-dev
mailing list