Ryan Schmidt wrote:
> On Jan 13, 2010, at 11:25, [email protected] wrote:
> 
>> set CFLAGS     "-Wall -O2 -I${prefix}/include ${configure.cc_archflags}"
>> -set LDFLAGS    "-L${prefix}/lib ${configure.ld_archflags}"
>> +set LDFLAGS    "-L${prefix}/lib"
>>
>> build.args     CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
>>                CC=${configure.cc} \
> 
> I'm curious why you're setting new variables CFLAGS and LDFLAGS, and not 
> using the variables that already exist for this purpose, namely 
> configure.cflags, configure.cppflags, configure.cxxflags, configure.ldflags, 
> etc.

I did not write the original recipe, I just wanted it to compile when archflags 
are set.
Your way sounds better though!

Jeremy

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to