> You shouldn't be defining these at %prep stage, doing so in %build is
> much more secure. And there must be much a simpler way than using sed
> to do it. You could pass options in %__make invocation, or append them
> at the end of config.mk file:
> 
> %build
> cat << 'EOF' >> config.mk
> PREFIX = %{_prefix}
> CFLAGS := %{rpmcflags} $(filter-out -Os,$(CFLAGS))
> LDFLAGS = %{rpmldflags}
> EOF

Ok, thanks. Corrected.

Zsolt

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to