> For completeness, it should be:
> 
> .if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "arm"
> COPTS.getaddrinfo.c+= ${${ACTIVE_CC} == "gcc" :? -fno-tree-ter :}
> COPTS.gethnameaddr.c+=        ${${ACTIVE_CC} == "gcc" :? -fno-tree-ter :}
> .endif

why not just have:

   .if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "arm" && ${ACTIVE_CC} == "gcc"

and avoid the unusual make pattern and evaluating it twice?


.mrg.

Reply via email to