xnd-project / libndtypes

Subsumed into xnd
https://xnd.io/
BSD 3-Clause "New" or "Revised" License
25 stars 17 forks source link

Add -std=c11 to Ruby build. #54

Open skrah opened 6 years ago

skrah commented 6 years ago

@v0dro I have to use gem install ndtypes --verbose --pre -- --with-cflags="-std=c11" for the build.

Is it possible to integrate -std=c11 in some configuration file?

v0dro commented 6 years ago

Sure. I'll do that.

v0dro commented 6 years ago

It can be done in the extconf.rb file by setting up the CFLAGS variable.