packages: dmenu/dmenu.spec (NEW) - initial
Zsolt Udvari
udvzsolt at gmail.com
Mon Jun 1 09:27:50 CEST 2009
> 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
More information about the pld-devel-en
mailing list