< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] Make system problem


Here's what I took out out of my .bashrc to fix the problem:

#export CXXFLAGS="-I/Users/derek/include"
#export CFLAGS="-I/Users/derek/include"
#export LDLIBS="-L/Users/derek/lib"


On 10/5/07, Byron Campen <bcampen@xxxxxxxxxxxx> wrote:
        This isn't happening on my machine. Do you have a variable in your
CXXFLAGS? I can see that evaluating to different things in the code
you're pointing to, maybe. What kind of stuff is in your CXXFLAGS var?

Best regards,
Byron Campen


> I hit a fairly heinous makefile issue recently.  If you have
> CXXFLAGS or CFLAGS set as an environment variable, the cxxflags in
> the obj.debug... directory is rebuilt every compile, which causes a
> complete rebuild of all files.
>
> The issue is most likely in makefile.post:
>
> ifeq ($(CXXFLAGS),$(shell test -f $(OBJ)/cxxflags && cat $(OBJ)/
> cxxflags))
> else
> .PHONY: $(OBJ)/cxxflags
> endif
>
> I don't speak make so I don't know how to fix it...is $CXXFLAGS
> colliding with the bash environment variable?
>
> Also, the repro executable always rebuilds.  There doesn't seem to
> be dependency generation for TARGET_BINARY.  Does it just need the
> same rule for dependency generation that TESTPROGRAM has in
> Makefile.post?
>
> -Derek
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel