Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda03ea
)
x86_64 patch from Bernd
author
Andreas Tonnesen
<andreto@olsr.org>
Sat, 19 Nov 2005 08:43:51 +0000
(08:43 +0000)
committer
Andreas Tonnesen
<andreto@olsr.org>
Sat, 19 Nov 2005 08:43:51 +0000
(08:43 +0000)
make/Makefile.linux
patch
|
blob
|
history
diff --git
a/make/Makefile.linux
b/make/Makefile.linux
index
eb57740
..
e8ca02f
100644
(file)
--- a/
make/Makefile.linux
+++ b/
make/Makefile.linux
@@
-16,6
+16,13
@@
INSTALL_LIB = install -D -m 755 $(PLUGIN_FULLNAME) $(LIBDIR)/$(PLUGIN_FULLNAME);
/sbin/ldconfig -n $(LIBDIR)
ifdef OLSRD_PLUGIN
+GENERATE_PIC = true
+endif
+ifeq ($(shell arch),x86_64)
+GENERATE_PIC = true
+endif
+
+ifdef GENERATE_PIC
CFLAGS += -fPIC
LDFLAGS += -fPIC
endif