franko / gsl-shell

GSL library shell based on LuaJIT2
http://franko.github.io/gsl-shell/
GNU General Public License v3.0
93 stars 12 forks source link

Respect command-variable CFLAGS #30

Closed g-braeunlich closed 8 years ago

g-braeunlich commented 8 years ago

When overriding the CFLAGS variable with a command line argument, all "CFLAGS +=" directives are lost, see https://www.gnu.org/software/make/manual/html_node/Overriding.html#Overriding I propose to introduce a new variable GSH_CFLAGS to be changed by the "+=" directive and which is called by COMPILE instead of CFLAGS. This way make respects the CFLAGS passed by the user.

franko commented 8 years ago

Sounds good, thank you for contributing to GSL Shell :-)

g-braeunlich commented 8 years ago

You are welcome! Thanks for merging!