Linux SPARSE checker discussions
 help / color / mirror / Atom feed
* multiarch & base dir
@ 2017-11-05  9:33 Luc Van Oostenryck
  2017-11-05  9:59 ` Christopher Li
  2017-11-05 18:50 ` Ramsay Jones
  0 siblings, 2 replies; 5+ messages in thread
From: Luc Van Oostenryck @ 2017-11-05  9:33 UTC (permalink / raw)
  To: Ramsay Jones; +Cc: linux-sparse

Hi,

Commit 85e2e2a25 "Add support for multiarch system header files"
added for GCC's multiarch directory. One of the change was :
+       /* add the multiarch include directories, if any */
+       if (multiarch_dir && *multiarch_dir) {
+               add_pre_buffer("#add_system \"/usr/include/%s\"\n", multiarch_dir);
+               add_pre_buffer("#add_system \"/usr/local/include/%s\"\n", multiarch_dir);
+       }


There, the multiarch dir is appended to /usr/include & /usr/local/include.
I'm wondering if using GCC_BASE should be used here instead.
Any thoughts?


Best regards,
-- Luc

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-05 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-05  9:33 multiarch & base dir Luc Van Oostenryck
2017-11-05  9:59 ` Christopher Li
2017-11-05 10:08   ` Luc Van Oostenryck
2017-11-05 18:50 ` Ramsay Jones
2017-11-05 20:01   ` Luc Van Oostenryck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox