diff options
author | Will Newton <will.newton@imgtec.com> | 2011-07-08 14:19:16 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-07-11 00:44:00 +0200 |
commit | 2016db44e815ddd5fc92ceea35ba439839d8c8b3 (patch) | |
tree | 3a9485d5621edcd8101ce0e5da43dfbf1e20bea2 /package/libnss/libnss-cross.patch | |
parent | 36b4b852eea02a95f6162cba4ed5e7f3079637c0 (diff) | |
download | buildroot-novena-2016db44e815ddd5fc92ceea35ba439839d8c8b3.tar.gz buildroot-novena-2016db44e815ddd5fc92ceea35ba439839d8c8b3.zip |
package: add libnss
NSS is the Network Security Services library developed as part of
the Mozilla project. It provides similar functions to OpenSSL but
allows MPL, GPL and LGPL licensing.
[Peter: fix target install]
Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/libnss/libnss-cross.patch')
-rw-r--r-- | package/libnss/libnss-cross.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/libnss/libnss-cross.patch b/package/libnss/libnss-cross.patch new file mode 100644 index 000000000..8a5cd102a --- /dev/null +++ b/package/libnss/libnss-cross.patch @@ -0,0 +1,27 @@ + +This patch allows us to set a value for the cross compiler via TARGETCC without +setting CC on the command line. CC is used for host tools as well as cross +compiled code so we cannot define it on the command line without breaking +the host tools build. + +Signed-off-by: Will Newton <will.newton@imgtec.com> + +--- libnss-3.12.9.old/mozilla/security/coreconf/Linux.mk 2011-03-01 10:31:21.517847183 +0000 ++++ libnss-3.12.9/mozilla/security/coreconf/Linux.mk 2011-03-01 10:33:42.688648237 +0000 +@@ -46,9 +46,13 @@ + IMPL_STRATEGY = _PTH + endif + +-CC = gcc +-CCC = g++ +-RANLIB = ranlib ++TARGETCC = gcc ++TARGETCCC = g++ ++TARGETRANLIB = ranlib ++ ++CC = $(TARGETCC) ++CCC = $(TARGETCCC) ++RANLIB = $(TARGETRANLIB) + + DEFAULT_COMPILER = gcc + |