[rtems commit] build: Add CPPFLAGS to assembler command line

Sebastian Huber sebh at rtems.org
Tue Jan 26 15:10:34 UTC 2021


Module:    rtems
Branch:    master
Commit:    9d2db27adf131ea94ac6f35eab204eb24c7cb2a6
Changeset: http://git.rtems.org/rtems/commit/?id=9d2db27adf131ea94ac6f35eab204eb24c7cb2a6

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jan  5 10:45:28 2021 +0100

build: Add CPPFLAGS to assembler command line

We use GCC to call the assembler.  This means the assembler files are
processed by the C preprocessor.

---

 wscript | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wscript b/wscript
index b5662e1..3a2e290 100755
--- a/wscript
+++ b/wscript
@@ -574,6 +574,7 @@ class ObjectsItem(Item):
 
     def do_build(self, bld, bic):
         bld.objects(
+            asflags=self.data["cppflags"],
             cflags=self.data["cflags"],
             cppflags=self.data["cppflags"],
             cxxflags=self.data["cxxflags"],



More information about the vc mailing list