[pacman-dev] makepkg misses to export variables

Mateusz Jedrasik m.jedrasik at gmail.com
Thu May 17 11:37:49 EDT 2007


Thursday 17 of May 2007 04:41:12 Dan McGee napisał(a):
> On 5/16/07, Mateusz Jedrasik <m.jedrasik at gmail.com> wrote:
> > Seems the flags get exported... but my builds still dont build with the
> > cflags specified nor with -j3...
> >
> > Maybe something's wrong with the build process, i.e., the stuff gets
> > exported but then gets neglected/overwritten during ./configure and
> > make/gmake.
>
> Things are MUCH easier to debug if you give us a specific package or
> PKGBUILD that fails, instead of trying to generalize the issue. Can
> you do this?
>
> -Dan
>
> _______________________________________________
> pacman-dev mailing list
> pacman-dev at archlinux.org
> http://archlinux.org/mailman/listinfo/pacman-dev

Pretty much any package doesn't work properly.

If the package uses g++ for compilation, no CFLAGS are used at all (for 
example, aurbuild -s nanodc) and neither are MAKEFLAGS (-j3). Well maybe they 
are, just the package's Makefiles cannot support it... but I doubt it.

If a package uses C (such as irssi-svn), then the flags are passed, so 'only' 
MAKEFLAGS don't work.

Hope this helps...

Regards,

//m.
-- 
Mateusz Jędrasik <m.jedrasik at gmail.com>
tel. +48(79)022-9393, +48(51)69-444-90
http://imachine.szklo.eu.org




More information about the pacman-dev mailing list