[Buildroot] [PATCH] Fix sed fail when building qtopia
Bernhard Fischer
rep.dot.nop at gmail.com
Mon Aug 20 18:11:51 UTC 2007
On Mon, Aug 20, 2007 at 07:00:17PM +0100, Thiago A. Corrêa wrote:
>Hi there,
>
> This patch should fix the error:
> sed: -e expression #1, char 21: unknown option to `s'
>
> I am sure there is a better way to do this, but I'm not comfortable
>with shell scripts enough, so, if someone has a better solution, by
>all means :)
ergh, that's rather ugly.
Please try to use this instead and let me know if that works for you:
$(SED) 's,-O2,$(TARGET_CFLAGS),' \
$(QTOPIA4_TARGET_DIR)/mkspecs/qws/linux-$(BR2_PACKAGE_QTOPIA4_EMB_PLATFORM)-g++/qmake.conf
(i.e. use ',' instead if '/'.
More information about the buildroot
mailing list