adematti / pyclass

Other
0 stars 1 forks source link

map CFLAGS to CCFLAG? #3

Open pmcdonal opened 1 year ago

pmcdonal commented 1 year ago

In case it could spare anyone the bit of pain I just ran into: I think class uses CCFLAG in place of what I think would be more standard CFLAGS. In my case at least this would make it compile without effort: os.environ.setdefault('CCFLAG',os.environ['CFLAGS']) https://github.com/adematti/pyclass/blob/d47dbd5415b052c0ea48f7c57cd36cbce40cf0f1/setup.py#L154

adematti commented 1 year ago

Thanks! should be fixed with 82e604b