Jordan Crouse wrote:
On 07/12/07 22:51 -0500, Corey Osgood wrote:
Jordan Crouse wrote:
HOST_CC=gcc -HOST_CFLAGS= +HOST_CFLAGS=$(STACKPROTECT)
Okay, there's reason that I've left just this part of the patch. With the patch this way, mkelfimage builds (awesome, thanks!), but lzma fails:
make[1]: Leaving directory `/home/amp/linuxbios/buildrom/buildrom-devel/work/unifdef/unifdef-1.0' Building lzma... export: 4: -fno-stack-protector: bad variable name make: *** [/home/amp/linuxbios/buildrom/buildrom-devel/work/lzma/lzma-443/C/7zip/Compress/LZMA_Alone/lzma] Error 2
With quotes around $(STACKPROTECT), lzma finishes, but mkelfimage fails:
The quotes should go around $(HOST_CFLAGS) in the lzma.mk, no in Build.settings. Patch attached (apply against the mkelfimage patch).
Jordan
Acked-by: Corey Osgood corey.osgood@gmail.com