Use -isystem for the pgsql includes.

This commit is contained in:
Sadie Powell 2021-09-26 19:19:17 +01:00
parent f2386ea01f
commit d3e286f39a

View File

@ -27,7 +27,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/// $CompilerFlags: -Iexecute("pg_config --includedir" "POSTGRESQL_INCLUDE_DIR")
/// $CompilerFlags: -isystem execute("pg_config --includedir" "POSTGRESQL_INCLUDE_DIR")
/// $LinkerFlags: -Lexecute("pg_config --libdir" "POSTGRESQL_LIBRARY_DIR") -lpq
/// $PackageInfo: require_system("arch") postgresql-libs