On May 2, 2013, at 9:49 AM, Hisham <[email protected]> wrote:

> Hate the fact that "11 > 99" though!…

Building on Sean's initial suggestion:

>  build_variables =
>  {
>    CC     = "$(CC) -std=c99",
>    CFLAGS = "$(CFLAGS)",
>  },
> 

what if we had LR platform specific variables for the compiler options, CC99 
and CC11 etc.; then we could do:

 build_variables =
 {
   CC     = "$(CC99)",
   CFLAGS = "$(CFLAGS)",
 },

or

 build_variables =
 {
   CC     = "$(CC11)",
   CFLAGS = "$(CFLAGS)",
 },

For LR on Unix CC99 would default to "gcc -std=c99" but the user could override 
it in a local configuration, e.g., to "cc -std=c99"

e


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to