This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support sharing ARM headers for hard and soft float


> +default-abi := $(strip $(shell \
> +    ($(default-abi-prog)) | $(CC) $(CFLAGS) $(CPPFLAGS) -E -P -))

Using $(shell ...) in makefiles is pretty disgusting.  The compiler
will run every time you run make.  What I'd recommend instead is
generating a makefile and including it.  The generated file can depend
on config.make or something like that to be sure it gets re-run when
$(CC) et al might reasonably be expected to have changed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]