1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/mips: skip pthread types provided by the toolchain

This commit is contained in:
Alexandre Abadie 2020-07-01 16:20:07 +02:00
parent ee2679ff70
commit 581c97bbcf
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -1,5 +1,10 @@
include $(RIOTCPU)/mips32r2_common/Makefile.include
# The 2020.06-01 toolchain provides POSIX defines for pthread which conflicts
# with the one in RIOT. The following CFLAGS skip the inclusion of the types
# shipped by the toolchain.
CFLAGS += -D_SYS__PTHREADTYPES_H_
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
INCLUDES += -I$(RIOTCPU)/mips_pic32_common/include