Problem with mingw port, obeys $(CPUTYPE) but shouldn't
Martin Cracauer
cracauer at cons.org
Fri Jul 1 18:35:47 GMT 2005
> > > > > There's a bsd.port.mk option (WITHOUT_CPU_CFLAGS or something) that
> > > > > sanitizes the CFLAGS to prevent old compiler ports from breaking in
> > > > > this way.
> > > >
> > > > Thank you Kris, that is doing the right thing. The appended diff
> > > > fixes the port.
> > > >
> > > > Anybody thinks of a reason not to commit that?
> > >
> > > Seems good to me :-) It would be nice if someone could sweep the other
> > > miscellaneous compiler ports for this too.
> > >
> > Any ideas how this could be achieved?
> > Remove standard compiler and find ports that do not define NO_BUILD and
> > do not fail building... :)
>
> I don't know if you can do this automatically (those ports still need
> to bootstrap themselves). Maybe I should try doing a package build
> run with CPUTYPE=pentium3 since that was unsupported on old gcc
> versions.
That should fail just fine and give you a nice list of ports.
What I wonder is why the other mingw ports did not fail. I assume
they were crosscompiled from the system gcc, not mingw-gcc.
Martin
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer at cons.org> http://www.cons.org/cracauer/
No warranty. This email is probably produced by one of my cats
stepping on the keys. No, I don't have an infinite number of cats.
More information about the freebsd-ports
mailing list