projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c786c39
)
add a variable that contains the proper architecture-dependent -fPIC/-fpic cflag...
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 6 Aug 2008 22:10:20 +0000
(22:10 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 6 Aug 2008 22:10:20 +0000
(22:10 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12224
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
rules.mk
patch
|
blob
|
history
diff --git
a/rules.mk
b/rules.mk
index
5a54c53
..
6b081bb
100644
(file)
--- a/
rules.mk
+++ b/
rules.mk
@@
-39,6
+39,12
@@
SUBDIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR})
OPTIMIZE_FOR_CPU=$(ARCH)
+ifeq ($(ARCH),powerpc)
+ FPIC:=-fPIC
+else
+ FPIC:=-fpic
+endif
+
DL_DIR:=$(if $(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(call qstrip,$(CONFIG_DOWNLOAD_FOLDER)),$(TOPDIR)/dl)
BIN_DIR:=$(TOPDIR)/bin
INCLUDE_DIR:=$(TOPDIR)/include
This page took
0.033318 seconds
and
4
git commands to generate.