diff options
author | Megan Wachs <megan@sifive.com> | 2017-02-01 16:39:38 -0800 |
---|---|---|
committer | Megan Wachs <megan@sifive.com> | 2017-02-01 16:39:38 -0800 |
commit | 08a72bb956a25fd94d965fb4474f3ddcca1ed1e6 (patch) | |
tree | 41f952ee81ce917aa6be874b226d98741008b2fd /bsp/env | |
parent | 0adc37422f48e9468d980a1d98dcc65bd7ab3043 (diff) |
Additional PRCI driver support. Make the code usable by C++ programs as well.
Diffstat (limited to 'bsp/env')
-rw-r--r-- | bsp/env/common.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/env/common.mk b/bsp/env/common.mk index c828306..74f5582 100644 --- a/bsp/env/common.mk +++ b/bsp/env/common.mk @@ -48,7 +48,7 @@ $(ASM_OBJS): %.o: %.S $(HEADERS) $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $< $(C_OBJS): %.o: %.c $(HEADERS) - $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $< + $(CC) $(CFLAGS) $(INCLUDES) -include sys/cdefs.h -c -o $@ $< .PHONY: clean clean: |