diff options
Diffstat (limited to 'sbe/image/img_defs.mk')
-rw-r--r-- | sbe/image/img_defs.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sbe/image/img_defs.mk b/sbe/image/img_defs.mk index c1214c80..771214a9 100644 --- a/sbe/image/img_defs.mk +++ b/sbe/image/img_defs.mk @@ -276,8 +276,10 @@ endif #override the GNU Make implicit rule for going from a .C to a .o %.o: %.C +# -Wno-conversion-null is necesary to allow mapping of NULL to TARGET_TYPE_SYSTEM +# for attribute accesses $(OBJDIR)/%.s: %.C - $(TCC) $(PPE-CFLAGS) $(DEFS) -S -std=c++11 -o $@ $< + $(TCC) $(PPE-CFLAGS) $(DEFS) -Wno-conversion-null -S -std=c++11 -o $@ $< #override the GNU Make implicit rule for going from a .c to a .o |