Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] openssl 1.0.2 with sed error of unknown option
@ 2015-03-20 23:20 Walt Chow
  2015-03-20 23:52 ` Gustavo Zacarias
  0 siblings, 1 reply; 2+ messages in thread
From: Walt Chow @ 2015-03-20 23:20 UTC (permalink / raw)
  To: buildroot

Upgrading to openssl 1.0.2, I came across a problem during configuration as
below:

Configured for linux-generic32.

/usr/bin/sed: -e expression #1, char 141: unknown option to `s' make[1]:
***

The problem comes from openssl.mk:

$(SED) "s:-O[0-9]:$(OPENSSL_CFLAGS):" $(@D)/Makefile

When it expands OPENSSL_CFLAGS, it contains content like "-rpath
/lib:/usr/lib".
With this the sed operation will fail.  To resolve this problem, I replaced
: with ! like:

$(SED) "s!-O[0-9]!$(OPENSSL_CFLAGS)!" $(@D)/Makefile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150320/339833cb/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-20 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-20 23:20 [Buildroot] openssl 1.0.2 with sed error of unknown option Walt Chow
2015-03-20 23:52 ` Gustavo Zacarias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox