Issue #8315 has been updated by Tomoyuki Chikanaga.

Related to Backport #6504: mkmf.rb should not use CFLAGS when compiling C++ code added

----------------------------------------
Bug #8315: mkmf does not include include paths from pkg_config anymore
https://bugs.ruby-lang.org/issues/8315#change-48913

* Author: Hans Mackowiak
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: ext
* Target version: 
* ruby -v: trunk
* Backport: 2.0.0: REQUIRED, 2.1: DONE
----------------------------------------
#6504 does that, for cpp files `$CFLAGS` is not used anymore, so the problems are the include paths:

* there is no `$CXXFLAGS` global variable defined
* pkg_config does not add the includes paths to the correct `*FLAGS`


so my gems are currently broken for ruby trunk and if i fix that it may be broken for the older ruby 




-- 
https://bugs.ruby-lang.org/