[klibc] EXTRA_KLIBCCFLAGS and dash

Martin Schlemmer azarah at nosferatu.za.org
Sat Jul 8 08:19:52 PDT 2006


Hi,

Dash currently sets EXTRA_KLIBCCFLAGS, so if you set it to something
else, it fails to build.  Not sure if the following is correct, but it
seems to work.


diff --git a/usr/dash/Kbuild b/usr/dash/Kbuild
index 8e5184e..6e743f8 100644
--- a/usr/dash/Kbuild
+++ b/usr/dash/Kbuild
@@ -18,7 +18,7 @@ DEFAULT_INCLUDES := \
        -I$(srctree)/$(src) -I$(objtree)/$(obj) \
        -include $(srctree)/$(src)/config.h

-EXTRA_KLIBCCFLAGS := $(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS)
+KLIBCCFLAGS += $(DEFS) $(DEFAULT_INCLUDES) $(CPPFLAGS) $(CFLAGS)
 HOST_EXTRACFLAGS := $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)

 SRCS :=        alias.c arith_yylex.c cd.c error.c eval.c exec.c expand.c \



-- 
Martin Schlemmer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: klibc-1.4.8-dash-flags.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
Url : http://www.zytor.com/pipermail/klibc/attachments/20060708/e85dee17/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.zytor.com/pipermail/klibc/attachments/20060708/e85dee17/attachment-0001.bin 


More information about the klibc mailing list