I need a help.
I create patches for TB and test locally under Debian GNU/Linux.
I use M-C/C-C tree for local TB build and testing.
Background: I have to modify M-C portion of the code although I am
interested in patching C-C TB code.
The reason is that I apply rather strict compiler warning/error
options, and I apply then to ALL the directories including M-C tree.
(It is not entirely clear how I can change the per directory setting
of compiler options. I basically override the default specification by
passing compiler option flags to the CC and CXX commands.)
I'm no expert, but I believe you can apply compiler flags to an entire subtree from the top directory's moz.build file. https://firefox-source-docs.mozilla.org/build/buildsystem/mozbuild-files.html#reading-and-traversing-moz-build-files
For example, I have this in js/src/moz.build:
CXXFLAGS += ["-fstandalone-debug"]
and it apples to everything under js/src/**, including
subdirectories with their own moz.build files.
--
You received this message because you are subscribed to the Google Groups "dev-pl...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev-platform...@mozilla.org.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/ba842412-5cfc-d768-a87e-bb037e41a31f%40yk.rim.or.jp.
To view this discussion on the web visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAHnMvnKM9-603aY4zhvRFRqNkGbFR_GdJD1LS6746ThPfcZEUA%40mail.gmail.com.